Coprophagia

Two of my four French bulldogs like to eat poops 😬 one of my puppies learned that habit from one of the older dogs. My vet suggested to buy For-Bid to curb the poop eating habit. Would that supplement work? Is that supplement healthy for them to eat with their meal? What did anyone do to help curb the poop eating habit? It is disgusting.