Yeah, and banging my head remains an instinct, but I can usually stop myself because there is a fear of headache available in my mind. Now, I reroute to my limbs. I'll bloody my arms or feet, but I hate a headache. And if it helps me avoid brain injury and a day-long throbbing in my head, great.
Getting in the tub and having my head underwater helps as well.