No carpet is stain proof, but since many are stain resistant, you have time to act. Look below to see if the specific spill you're trying to remove is listed. If so, you'll see instructions to help. If not, use the following general quidelines.
Remove as much of food spills as possible by scraping the carpet gently with a spoon or a dull knife.
Absorb wet spills as quickly as possible by blotting repeatedly with white paper or white cloth towels. Always blot; never rub or scrub abrasively, as a fuzzy area may result. When blotting, work from the outer edge in toward the center of the spot to avoid spreading the spill.
Remove the stain using one of the cleaning items from the checklist below.
Rinse the cleaned carpet area with water to remove detergent residue that may become sticky and cause rapid re-soiling.
Absorb any remaining moisture by placing several layers of white towels over the spot and weighing them down with a heavy object. This step is necessary even when the carpet doesn't seem particularly damp.