When my oldest son was little, he used to
bang his
head as well. He would get on all fours and
bang his
head on the floor. I hated it. I told his pediatrician about it, and she told me he was just doing it for attention, and to ignore it, and he would stop. He did not stop. What did make him stop was me finally walking up the steps into his bedroom, and scolding him harshly. He got scared, but he never did it again.