Pain when the head shakes is a manifestation of vascular headache.1. If the headache is recurrent, the headache attack is accompanied by autonomic symptoms such as nausea, vomiting, sweating, panic, etc., and is sensitive to light and noise, and the headache lasts for 3 hours to 3 days and can be relieved, it may be a migraine.2. If accompanied by fever, nasal congestion, running nose, etc., it may be a symptom of headache with upper sensation.3. If accompanied by fever, nausea, vomiting, and even mental changes, it should be intracranial infection.4. If the headache appears gradually, accompanied by numbness and insensitivity of limbs or unfavorable speech, blurred vision, it may be intracranial occupying lesions.5. If the headache persists, it is necessary to perform a craniocerebral CT or magnetic resonance examination to exclude organic lesions.