[header] How to prevent worms in dogs [title] Clean your dog's living area on a regular basis to remove feces and other waste materials. [step] 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. [substeps] Wash your dog's bedding at least once per week as well.