Children with unbearable headaches can first take oral ibuprofen to relieve the pain. Ibuprofen is a commonly used antipyretic and analgesic for children, and emergency treatment can be done at home under routine circumstances. If a child has a short-term headache accompanied by nausea, dizziness, vomiting, fever or high fever symptoms, it may be suffering from encephalitis, it is best to go to a regular hospital in a timely manner to register for medical consultation and follow the doctor’s instructions after clarifying the cause and treating the symptoms to avoid long-term delay at home and sequelae. It is also important to ensure that you get enough rest and sleep, avoid overexertion, eat less stimulating food, eat less greasy food, and eat more fresh vegetables and fruits. Children should also ensure that they have an optimistic mood and avoid competing with excessive stress can effectively prevent encephalitis disease from continuing to worsen and also allow patients to recover quickly. Long-term headaches can be examined with a head CT to rule out whether they are caused by brain tumors and other causes.