Leave it overnight, or for a few hours, and wash off with a sulfate-free shampoo.