Carpet can harbour unsightly stains, as well as offending odours, and simply vacuuming will not get carpet clean. Hydrogen peroxide and white distilled vinegar can get rid of germs by disinfecting areas as well as neutralising odours. Mixed together, these two solutions create a weak form of per-acetic acid, which if inhaled absorbed through the skin, is dangerous. Instead, use the agents one at a time, to clean stains from your carpets.
Pour hydrogen peroxide in and opaque spray bottle and pour the vinegar in the other spray bottle. Do not dilute the peroxide or vinegar.
Spray the vinegar on the affected area of the carpet, then spray the same area with peroxide. It does not make a difference which one you spray first, as long as you spray one immediately after the other, this method is effective.
Allow the carpet to absorb the two solutions. Do not rub the stain, as that will cause it to set deeper in the carpet. Blot the stain with a paper towel or clean cloth.
Extract the remaining moisture with a wet vacuum to expedite drying.
Hydrogen peroxide is sensitive to light; if you do not have an opaque spray bottle, leave the peroxide in its own bottle and attach a spray nozzle to the bottle. Hydrogen peroxide does have a bleaching effect so test the peroxide on a small area of your carpet before cleaning with it.