My son is a head butter. I mix up my response with offering cuddles and talking to him about his frustration, to ignoring him. I find responding all the time doesn't help as he learns to use it as his first port-of-call to get a response from me, but at the same time ignoring him all the time doesn't help him learn how to calm himself.