how to manage bad hair