Blot, blot blot, blot, blot, blot and did I mention blot?
Trying to rub out a stain just pushes the spill into the pile and causes fibers to mat. Rather, blot up spills by covering the area with a clean white towel or a thick pad of white paper towels. Press down with the heel of your hand. Repeat using dry towels until all the liquid has been absorbed. If the spill is large, use a wet-dry vacuum (if available) to remove most of the material before blotting.
Soapy Water Mix your own spot-cleaning solution by diluting a few drops of clear hand-dishwashing soap in water. (Laundry detergent is too alkaline, and creamy-looking hand-dishwashing soaps may leave a sticky residue.) Use less than 1/4 teaspoon per quart.
Rinse to remove colored spills or spot-cleaning solutions, such as soapy water or vinegar, either mist the area with clean water, or blot it with a wet white towel. Then blot area with a dry white towel. Repeat these two steps until no more residue comes out. Do not rub, or the carpet fibers may become matted.