"Shaken, not stirred." If 007 had become a carpet seller instead of a secret agent, his motto would have been "dabbed, not rubbed". When cleaning a carpet, never rub the stain, otherwise you will push the dirt even further into the fabric. Instead, carefully dab the moisture with a clean cloth or a piece of kitchen paper and work your way from the edge to the middle.
You should also act immediately. The faster you tackle the stain, the easier it will be to remove.