For a hair mask, you'll want to apply coconut oil to your hair before washing, being sure to shampoo, condition and thoroughly rinse out all oil after masking. (And yes, it will likely take an extra shampoo to get it all out!)