Immediately take action
Do not try to rub the stain away with a towel.
Do not blow the stain with a dryer, it will be more difficult to remove if dry.
Try to absorb as much as the liquid as possible, you can do this by blotting or using a vacuum.
Determine what mixture or chemical you will use, make sure it wont be something that will damage the area.
In order to not spread the stain, start from the outside of it and work your way in.
Rinse the mixture or chemicals that you used with water.
Blot the spot with towels as much as possible. Do this specially if you are dealing with upholstery until fully dry in order to absorb all the moisture.