Sick son?

Erin

My son (6 months) has been sick with a cold, no fever just runny nose and small cough. He has seen a doctor 1 week ago. Yesterday and today he randomly starts banging his head repeatedly. Any one know why??