How can you stop your dog eating its own and others dog poo?

You should pick up the other dog poo so the other dog can stop eating it