You can prevent most of this kind of intrusion by at the very least using a good VPN that encrypts your internet traffic and hides your real IP address. Regular scanning for malware such as rootkits or keyloggers is also prudent.