Avoid clicking on a link that appears to be not from an authorised source. We can also take care while downloading a few files. Do remember that such obnoxious files come with some really charming descriptions. It should be wiser to avoid falling prey to them. Most of hackers gain access to your information just because of your complacency.
Do not forget that some of the people you follow themselves can be hackers masquerading as legitimate users. Do take care while following anyone, or clicking on the links sent by someone unfamiliar. Using public computers can be another source of compromising yourself. Such computers can have tools like keyloggers to gain entry into your private space. Another no no is public WiFi. Convenient and cost effective as it may seem, they are more susceptible to hacker attacks.
If you follow some of those measures, you can stay away from hacking attempts.
Live....and Let Live!