As puppies age, they go through stages where different worms appear, so you have to have a program, with your vet that gets those as they come up, or you can use a broad spectrum de-wormer, but again, that's something I would talk to my vet about because case by case, a puppy may not need that. Like I've had foster puppies who got everything, on a schedule, planned out and I had a calendar to keep track of it all. Other foster puppies were not so infested.
If you google worms mar vista vet
you will see a list of the different types of worms and can read on the handling and care for each one. But talk to your vet. You may not need to do everything/as much as you think, or you may be able to take a more targeted approach.
You will sometimes see the worms in the poop.
Gloves are always a nice precaution but if outdoors a scooper that you can clean works too.
For some parasites, like giardia, they recommend washing the dog as well.
You will know they are working when the dog loses a pot bellied look, coat improves, appetite improves, activity level increases...depending on how bad they are when you start. If not bad, you won't see huge improvements, if bad, it's amazing. Like a foster puppy with roundworm was coughing because they had migrated to the lungs, coat was bad, wouldn't eat, didn't gain weight - basically was dying from the number and variety of worms and parasites in her little body. So I would never minimize their impact or your concerns having seen a dog like that (she is healthy/happy in a wonderful home now).
That website and those pages will give you an idea of some of the precautions, but again, talk to your vet. And if you think about it too much you will never touch your dog again, and put them in a bubble
. I say that, because I have done that and their paws alone probably keep me from an OCD germ condition because there is no way you can have dogs in the house and have that at the same time. Good luck!