A dog wormer is medication used for expelling parasites and worms commonly infecting a dog's stomach such as roundworms, tapeworms, hookworms, and pinworms. Dogs usually get infected with worms from what they eat. Some of the symptoms showing a dog has worms include weight loss, diarrhea, vomiting, unable to relieve feces, and irritation in the anus.