An anti-spam firewall application will, to an extent, help in keeping viruses at bay. There is, however, no firewall that is 100% hacker proof - there are too many ways in which viruses can be embedded in a software download or regular data, for a firewall to detect and catch them all. However there are some relatively effective firewall programs available on the market, and some of them are actually free for your personal use.