If you get windows 7 then the security on that (especially the 64 bit version) is more robust and all critical files are cached for repair if required
The main thing really is to be aware of what you are doing when online.. The majority of malware is downloaded with the user assistance, via social engineering
To learn more about how to protect yourself while on the internet read our little guide
How did I get infected in the first place ?