There are two primary methods for your
Twitter account to become compromised. Either you authorized a malicious application to connect to your account, or your password was guessed/stolen.
Read
http://nakedsecurity.sophos.com/2012/01/28/what-do-i-do-if-my-twitter-account-is-hacked/
Why you should Donate!