The internet can be dangerous and there is always someone trying to use its massive reach for their own personal illegitimate gain. Being yet another victim of hacking is becoming common place now due to the vast amount of devices that are connected to the internet - but this doesn’t need to be the case.
The first preventative measure would be if your device doesn’t need to be connected to Wi-Fi.... then turn it off. If your device is busy scanning for a wireless connection it could connect itself to a network purposely set up for malicious purposes.
Make the most of two step authentication; it may seem like more aggravation initially but it could save a world of hurt. A hacker now needs two pieces of information not one.
Make sure that passwords aren’t obvious. Passwords become more secure the longer they are and randomness makes them harder to guess. Make the password as long and as random as you can remember without writing it down.
Again a case of making the most of using what is there. If the option is there to use HTTPS use it. The traffic becomes encrypted and almost impossible to see spy on.
Bulk up Wi-Fi defences; change the default password for the router these are standard and anyone could find it out. If possible use WPA-2 it is more secure than WEP which worryingly is the one machines like to try and default to.
Bizarrely don’t hide wireless routers. This may seem strange but if your routers are hidden your devices have to scan for them, this increases the possibility of being spoofed into connecting to a malicious network.
And the last point refers back to the first point does a device really need to be connected to the internet? If no, then don’t.
All information taken from http://money.cnn.com/2014/09/22/technology/security/hacker-safety-tips/index.html