Spray-on carpet shampoo or foam
These are available from your local supermarket. If you have a wool carpet be sure to choose a product that is suitable for wool. Follow the instructions very carefully. All general carpet-cleaning products contain solutions that 'attack' the stained area. If left on the stain too long they can remove colour from your carpet. Be especially careful with light coloured carpet.
Dry powder cleaner or fluid
These are also available from most supermarkets. Remember to choose a product that is suitable for wool if you have wool carpet. Dry powder or fluid can be used to remove greasy stains like cosmetics, butter, polish, paint, gravy, etc. Be careful to follow the instructions on the bottle.
Fabric detergent and white vinegar
A mixture of one teaspoon of fabric detergent and one teaspoon of white vinegar mixed in a litre of warm water will help remove grease based stains. Always remember to use small quantities and blot up any remaining moisture using dry white kitchen paper towels.