The symptoms of not being able to sleep at night and having a headache may be related to headaches caused by too little sleep, poor sleep quality, or prolonged difficulty in falling asleep or excessive sleepiness. It may be related to excessive tension, anxiety, anger, excitement, or neurasthenia. Can not sleep and have a headache, may also be related to elevated blood pressure, if a burst of pain, may be neurological headache, may be related to environmental changes, hot and cold stimulation, catching a cold, colds, fever and so on. If you have frequent headaches, difficulty in sleeping, accompanied by nausea, vomiting, numbness of the limbs, limited mobility and other symptoms, it may be related to cerebrovascular diseases, such as cerebral infarction, cerebral thrombosis or cerebral hemorrhage, etc., you should go to the internal medicine department of the hospital for examination, to determine the cause of the disease, and then choose the drug treatment.