[header] How to treat heartworms in dogs [title] Get injection treatment. [step] The official treatment for heartworms is a medical injection of immiticide (melarsomine). This treatment starts off with one injection given to your dog at the vet. 
Four to six weeks later, this is followed by two more injections that are given 24 hours apart. [substeps] This treatment kills the adult worms, which will disintegrate over time and be absorbed by your dog's body.