Even well-trained dogs have accidents. Whether you were out when they needed to go, or if they're just not feeling well, finding dog poop on the carpet is not a welcome sight. But what's even more of a concern is the possibility of it leaving a permanent stain on the carpet. To prevent this, you need to get to it quickly and clean it up the right way.
Put on a pair of latex gloves and remove the poop from the carpet with paper towels. Place all of your trash in a plastic bag, which you will tie up after you are finished to get rid of any smell.
Scrub as much of the poop that is left from the carpet with one or two wet rags. Use only rags that you are willing to throw away.
Fill up a bowl with two cups of warm water and then add one tablespoon of white vinegar and one tablespoon of liquid dish-washing detergent to it.
Dip a clean cloth in the solution and push the wet cloth repeatedly down on the carpet where you just removed the poop from. Continue to do so until the stain mark on your carpet. If this doesn't work, try a drop of hydrogen peroxide and then a drop of ammonia on the spot to remove the stain.
Apply cold water to the carpet with a sponge and then dry the spot with paper towels.