The key to protecting your computer against all types of harmful malware is to install good quality anti-malware software. Keep in mind that criminals have developed their malware in a way that it can come at you from different directions.
It can come through an infected disk or even a regular looking web application or online data form. Either way, the end goal is always to enrich the malware creator in one way or another, at your expense as a user.