How do you remove fingernail polish from a carpet?

Spray hair spray on it once it is dry and scrub it with a small towel.