And more importantly, a little known fact is this: Heartgard???, or its active ingredient ivermectin, if given once a month to a known infected dog for 18 months will cure an animal of the infection.Even more important to using pharmaceuticals to cure heartworm is using natural remedies to prevent fleas, ticks and other parasites from hosting on our animals.