First, you should know what a botnet is (See my post here).
AVG has a great short list in a good, but long article on botnets. Here are their recommendations to keep you from being part of a botnet:
(11)
(14)
(4)
(2)