After helping a friend get rid of malware on her iMac just this week, I thought this was a great topic to cover. This article gives a great overview, but I found that the free anti-malware programs such as ClamXav or AdwareMedic work just as well if you've been infected.