The solution you've needed. Instead of masking or bleaching stains, hydrogen peroxide breaks them apart and lifts them away.
If your dog poops on a carpet, remove the dog and their mess ASAP ... If you have cleaned everything up but the stain of the ...