Keep a headache diary to help identify the source or trigger of your symptoms. Then modify your environment or habits to avoid future headaches. When a headache occurs, write down the date and time the headache began, what you ate for the past 24 hours, how long you slept the night before, what you were doing and thinking about just before the headache started, any stress in your life, how long the headache lasts, and what you did to make it stop. After a period of time, you may begin to see a pattern.
A headache may be relieved by resting with your eyes closed and head supported. Relaxation techniques can help. A massage or heat applied to the back of the upper neck can be effective in relieving tension headaches.
Try acetaminophen, aspirin, or ibuprofen for tension headaches. Do NOT give aspirin to children because of the risk of Reye syndrome.
Migraine headaches may respond to nonsteroidal anti-inflammatory drugs (NSAIDs), or migraine medications that contain a combination of drugs.
If over-the-counter remedies do not control your pain, talk to your doctor about possible prescription medications.
Prescription medications used for migraine headaches include ergotamine, dihydroergotamine, ergotamine with caffeine (Cafergot), isometheptene (Midrin), and triptans like sumatriptan (Imitrex), rizatriptan (Maxalt), eletriptan (Relpax), almotriptan (Axert), and zolmitriptan (Zomig). Sometimes medications to relieve nausea and vomiting are helpful for other migraine symptoms.
If you get headaches often, your doctor may prescribe medication to prevent headaches before they occur. It is important to take these medicines every day as prescribed, even when you are not having a headache.
People who take pain medications regularly for 3 or more days a week may develop medication overuse, or rebound, headaches. All types of pain pills (including over-the-counter drugs) can cause rebound headaches. If you think this may be a problem for you, talk to your health care provider.