My beagles have had both kinds of worms. Oliver had them recently and we had no idea, I felt so bad. I didn't know that heartworm treatments can help with other worms. I would get the stuff from the vet, not a pet store. Bring a sample to your vet if you can.