Ivermectin prevents heartworm disease by targeting and killing any immature heartworm larvae that may have been transmitted to your dog via mosquito bites. Pyrantel, the other active ingredient in ...