Being unix based there are not many viruses for OSX. There are how ever worms, trojans and malware. For the most part they would have to be installed by you hidden away in some scam software.
The best thing you can do is to not run in an account that has Admin or Super User privliges. Also keep Java updated and you should be fine.