Prevention is better than cure, and taking sensible precautions will help prevent malware from getting on your PC. If you already have a a malicious program on your computer there are some good anti spy ware downloads available on the Net.
You can use a free spyware scan to see if your computer is infected with spyware programs or adware here: