Headache patients try not to drink coffee, the main component of coffee is caffeine, has a certain excitement and vasodilator effect. When the body is excited, it can make the body produce increased secretion of 5-hydroxytryptamine, which can cause tension headaches in patients. In addition, caffeine dilates blood vessels and can cause vascular headaches in patients due to the dilation of blood vessels in the head. If a patient has a headache, it is usually divided into primary headache and secondary headache. Patients with secondary headaches often have a clear cause, including intracranial lesions caused by head and neck trauma, head and neck vascular disease, such as intracranial tumors, and also central nervous system infections, such as encephalitis and meningitis, which can cause secondary headaches, and are treated mainly for the cause. Primary headaches include migraine, tension headache and cluster headache. The main trigger for migraine can be coffee.