"A comb"
This is because a comb is used to "answer" the question of "what to do with hair" by styling and arranging it.
So, the next time someone asks you the "answer to hair", just smile and say "A comb!"