Spills happen in most households and if you have carpet, along with pets or toddlers it is highly likely that you will eventually get a spill of something on the carpet. Even adults can spill things such as wine or coffee. It only takes a moment of inattention and the deed it done. It is what happens afterwards that is important. Treating the spill properly will hopefully remove the stain. Simply blotting it will only remove moisture and leave the stain there, so when it is time to move and then when the removalists are gone you will be left with very hard to remove stains.
To treat a stain on the carpet it is important to know what caused the stain and what type of carpet you have. The first is usually easier to identify than the second, especially if you are renting. However, no matter what type of carpet you have, it is important to mop up that spill as soon as possible. Mopping it up properly will prevent it from spreading and may even stop it from penetrating to the underfelt.
How to remove the moisture
First up, blot the stain with paper towelling or a white towel. Do not scrub or rub the area as this will damage the carpet fibres and spread the stain. Even when blotting, surround the edges of the spill with the paper towel and press towards the centre to keep it contained. Continue to press with clean sheets of paper until most the moisture has come out. There will still be a stain, especially if what spilled has deep colour, like wine or coffee.