What is the best heartworm prevention for dogs? The most common types of heartworm prevention medications include ivermectin (Heartgard), milbemycin (Interceptor), and selamectin (Revolution). Each of these drugs and the variations of them available will kill heartworm, and some of them will also kill roundworm, hookworm, tapeworms, whipworms, and even fleas.