The following is a basic procedure which can be used on many types of stains.The quicker you treat the stain the easier it will be to remove.
1.Using a spoon lift up as much of the spill as you can. Then with a white cloth (don’t use a colored one) blot the spot, don’t rub it otherwise you will make it worse.
2. Blot the stain with the white cloth to remove moisture. Scrubbing can damage the fibre and set the stain into the carpet.
Apply luke warm water to the stained area and blot until the stain stops transferring to the cloth.
3.If the stain is still visible, make a dishwashing detergent by adding a small drop of dishwashing liquid to one cup warm water. Don’t use too much soap, because it’s difficult to rinse out of the carpet.
Apply the detergent solution, let sit for several minutes, then rinse with clear warm water. Repeat until all the detergent is removed.
4.Place layers of white paper towels on the spill to absorb the liquid. Weight down the towels with a non-staining glass or ceramic object for 8-12 hours. The heavier the item the better
5.When the carpet is dry, vacuum the stained area.
If you can see the stain after all this, It means the stain penetrated deep into the pile and has wicked up to the surface.
If you still cannot remove the stain please contact a professional ASAP.