From carpets: Shampoo the carpet. If the stain persists, try a proprietary stain removal product. Older stains may improve if you dab them with methylated spirits.
From fabric: Wash as usual in as hot a setting as the fabric can take, using a biological detergent. Older stains should be soaked first in washing soda and warm water.
From upholstery: Sponge with warm water. Older stains can be cleaned with a 1:5 solution of clear vinegar and water, taking care not to get the fabric too wet, then rinse with clean water. Dab with a dry cloth or kitchen paper to dry.
Always check manufacturer's instructions first. Always try a test patch first. If you are unsure as to whether the item you are cleaning is suitable for our instructions, take professional cleaning advice first.
Source: Channel4