Getting a Virus can happen on Windows,Mac or Linux.
I personally install an OS then VMware or VirtualBox (free) with Sandboxie inside the Virtual Machine, this prevents a Virus,Spyware,Ad-aware or Malware from infecting the main OS.
I also install Linux or Windows on a USB flash drive...