Summarize this article:

If your headaches do not go away with lifestyle and other changes, see a doctor for evaluation. While usually not serious, chronic headaches can be caused by other medical problems. To help your doctor provide the best diagnosis, make a list of your symptoms. Keep a headache diary, chronicling when your headaches occur and any potential triggers. Include the intensity of each headache. You should also note how long your headaches have been occurring and any existing medical conditions you have. Depending on your symptoms, your doctor may want to run some tests to check for underlying conditions that may be causing your headaches. They may order a CT scan, an MRI, or blood work to check for neurological or other problems. If your doctor orders any tests, make sure you ask them about preparing ahead of time. Some tests may require you not to eat or drink the day before, for example. Depending on what your doctor thinks is causing the headaches, they may suggest dietary supplements. Magnesium, butterbur, feverfew, coenzyme Q10, and riboflavin are supplements that have reduced headache symptoms for some. Discuss dietary supplements with your doctor to see if they would be safe given your current health and any existing medications. Never introduce a dietary supplement before talking to your doctor first. Massage therapy involves seeing a professional masseuse to have your head, temples, and other body parts massaged to reduce the frequency of headaches. However, you can also give yourself a daily scalp massage to help prevent and possibly also relieve a headache. To give yourself a scalp massage, press your fingertips to your scalp and move them in small circles around your head. Do this for 5 to 10 minutes daily or as needed.
Present your doctor with a detailed list of symptoms. Get any necessary medical tests. Talk to your doctor about dietary supplements. Get or give yourself a scalp massage.