Poor sleep will affect the blood supply and oxygen supply to the brain, so it will lead to headaches. When the brain does not get enough rest, it will consume more oxygen, and it is easy to produce too many harmful substances, which affects the metabolism of the brain, so there will be a more obvious pain sensation. If there are vascular headaches as well as neurological headaches, headaches will be aggravated during poor sleep. Tension headaches, as well as stress headaches, may also be induced in patients, especially in the presence of tumors of the brain, meningitis, and so on. If there is a history of head injury, it can also affect the head during insomnia and headache aggravation can occur.