For Fox, it was a very public breach, but this kind of attack happens to Twitter users all the time. If your account is hacked, here are the steps to follow first:
1. If you have access to your account, change your password immediately. And make it a good one: That means no dictionary words, no family names, no pet names and no birthdates.
2. Head to your settings and check the “Applications” tab to see whether the hackers have granted any apps access to your account. To remove that permission, hit the “revoke access” button next to the listed application.
3. Delete any fake tweets.
4. Change the passwords of any third-party apps you use.
If you end up without access to your account, you can request that Twitter reset your password and have the company send a reset link to your associated e-mail address. In the event that you still can’t access your account, submit a support request to Twitter, specifying that you were hacked and the date you last had access to your account.