Factors that impact the successful removal of stains on carpets include:
How the stain was created
What caused the stain
The temperature at which the stain was created, as heat is an essential factor
How absorbent the carpet fibres are
How long has the stain been in place