Use organic, raw, unfiltered apple cider vinegar to get rid of these worms.
Just add 1/4 to 1 tsp per day in your puppy's water or food to produce a more alkaline digestive system that is less favorable to parasites.
To get rid of puppy worms the first thing you need to focus on is the food they eat.