Dogs are gross. And it’s my opinion that they all eat poop, whether their own or someone else’s. (Kitty crunchies, anyone??) There are things to use, as @syz said… if you only have the one dog, and she’s eating her own, that is. With that stuff, it has to be fed to the dog whose poop is being consumed, and the dosage is by the size of the dog, so if you have multiple dogs and they’re big, it gets pricey. Besides a vet check for parasites, again per @syz :-), a couple harmless things to try might be probiotics and/or dog multivitamins.
If anyone is offended by my ‘dogs are gross’ comment, please realize it’s followed by ‘but I love them anyway’. And if you’re offended by that, too bad!