(ivermectin/pyrantel) Protection against Heartworms, and Treats and Controls Roundworms and Hookworms. Heartworms are transmitted to dogs and puppies by mosquitos. Without the protection of a heartworm preventive, your pet could get heartworm disease – a potentially deadly illness. Once a dog is infected with heartworms, treatment can be