What most naturally follows?

How to prevent worms in dogs
Clean your dog's living area on a regular basis to remove feces and other waste materials.
Dogs may become infected with worms from old feces that remains in your backyard. Use a poop scooper to clean up your dog's feces every day.
Do not allow it to build up or it may pose a health hazard to your dog. Wash your dog's bedding at least once per week as well.