What is the causes of twitching in the head on top and side

Irritation perhaps. Some irritation to a muscle, nerve, or part of a nerve that goes to certain muscle fibers may cause those fibers to twitch. Such twitching is usually for a few hours or a day, and only once in a while. In those cases, doctors and patients usually don't spend time looking for a cause. But, if symptoms are frequent, or recurrent, a primary doctor, ENT doctor, and a neurologist can evaluate.