We call this stuff “miracle cleaner.”
1 pint alcohol
1/2 cup ammonia
1 teaspoon dishwashing detergent (liquid)
1-gallon jug of distilled water
The alcohol can be the cheapest rubbing alcohol from the drug store or grocery store. Pour out enough water from the gallon jug to fill it up with the other ingredients and then shake it together.
Keep a small amount in a dish detergent bottle or a spray bottle and use it with a nail brush to treat carpet spots.
Good Luck!!!! It really works.