Try blotting the tea stain with a white cloth or paper towel. Continue blotting with clean towels until you get most of the tea stain up. Blotting is repeatedly pressing directly down onto the spill. Mix a half cup of white vinegar with one cup of warm water and apply it to the tea stain using a spray bottle. Blot up the vinegar mixture using clean white cloth or paper towels until the towels come up clean. Make a solution of one teaspoon dish detergent to one cup warm water, and apply to the tea stain if the vinegar did not remove the tea stain completely. Rinse the carpet by spraying or gently pouring clear water on the stain. Blot as much up as possible, and let the area air dry for at least one hour. Check the area after about an hour. If any of the tea stain remains visible, mix one teaspoon of peroxide in one cup of warm water, spray the stain and blot until the stain is gone.