If your dog has intestinal worms, then any of the worming treatments can be used. There is no worming treatment that is 100% effective. Heartworm is more challenging to treat. Killing the worms can cause even more inflammation in your dog's blood vessels, and his symptoms may worsen significantly. For this reason, treating them is a two-step process.