I use either Ace or Shout spray.
@Rachel I have ace and it does get like 90% of the stain off but you can still see it slightly once I’ve took it out the wash 😭
Wet it. Spray it liberally w a stain remover spray- any. Let sit for a couple hours. Then in the wash I add a scoop of stain remover powder also. He never got any poop on his clothes ever, but the cloth diapers I did wash never came out w any stains.
Hydrogen peroxide. Try to get it while it's fresh.
I use washing up liquid (any) on the stain while it's still wet, then wash as normal, and so far not failed to get a stain out! Make sure you use cold water!