In fact, if a dog has a mild heartworm infestation, a veterinarian might recommend treating it with a heartworm preventative over a course of several months.
Dogs are infected with heartworms by mosquitos.
A mosquito will bite an infected animal and then pass the infection onto your dog should it bite him or her.