Mix equal parts of white vinegar and water.
Apply enough of the mixture to saturate the area affected, and allow to almost dry. (On carpet, blot with a paper towel or absorbent rag to speed the drying process.
Next, apply a liberal amount of baking soda over the area and then drizzle hydrogen peroxide (about 1/4 cup) mixed with 1 tablespoon dish soap or laundry detergent.
Work mixture into area and allow to dry.
Remove with vacuum or clean cloth.