The most effective route is to remove all feces immediately after the dog defecates. Supervise the animal more frequently. Exercise the animal more often, and leave toys around to provide extra stimulation.
The texture of wet dog food may satisfy the dog's propensity toward eating fecal matter. Add pineapple, crushed pumpkin, sulfur or B-complex vitamins to make the taste of poop unattractive to dogs; these additives are known to improve digestion. Place an emetic agent on the poop so the dog can induce vomiting after consuming it. Products designed to prevent dogs from eating fecal matter should only be used for a short time. Take the animal to a veterinarian to rule out underlying medical issues.