Keep your windows up to date; that will at least guard you from old exploits.
If you're using a Mac, Does it help to turn on the firewall and stealth mode ?
Also, there is an option to turn off all incoming connections ?
These options must make it harder
for a hacker to get into the Mac ?
I don't even understand what a VPN does to help.