What to Do If You Have a Headache: Relief Tips

Reaching for a painkiller and resting in a quiet, dimly lit room is the fastest path to relief for most common headaches. But the best combination of strategies depends on the type of headache you’re dealing with, how often it happens, and what else is going on in your body. A tension headache that creeps in after a long day at a desk responds differently than a migraine that arrives with nausea and light sensitivity, and the over-the-counter pill you grab matters more than you might think.

Start With the Basics Before You Open the Medicine Cabinet

Before reaching for medication, a few simple interventions can make a real difference, especially if your headache is mild or just beginning. Dehydration is an underappreciated headache trigger. In a study of people with water-deprivation headaches, about two-thirds got complete relief within 30 minutes just by drinking water, averaging around 500 mL (roughly two cups). The remaining subjects needed one to three hours and slightly more fluid to feel better.1PubMed. Water-deprivation headache: a new headache with two variants If you haven’t been drinking much today, a tall glass of water is the cheapest and easiest first move.

Dimming lights and reducing noise also helps, particularly if your headache has any migraine features. Seeking a dark room and avoiding light exposure remain frontline nonpharmacological strategies for the light sensitivity that accompanies migraine attacks. This isn’t just comfort: bright light can actively worsen the pain through pathways in the trigeminal nerve, which is central to headache processing.2PubMed Central. Migraine and light: A narrative review If you can lie down with your eyes closed for 20 to 30 minutes in a quiet space, do that first.

Choosing the Right Over-the-Counter Painkiller

Most people grab whatever is in the drawer, whether that’s ibuprofen, acetaminophen (paracetamol), or aspirin. All three work for garden-variety headaches, but the evidence suggests you can do better with a little thought. Combination products that pair aspirin, acetaminophen, and caffeine (often labeled “extra strength” or “migraine” formulas) consistently outperform single-ingredient options in trials. A meta-analysis of randomized trials found that this triple combination provided pain relief at two hours in about 54% of migraine sufferers, compared with roughly 31% for placebo.3PubMed. Aspirin, paracetamol (acetaminophen) and caffeine for the treatment of acute migraine attacks: A systemic review and meta-analysis of randomized placebo-controlled trials

When this triple combination was tested head-to-head against ibuprofen alone for acute migraine, the combination reached meaningful pain relief about 20 minutes faster.4PubMed. Acetaminophen, aspirin, and caffeine in combination versus ibuprofen for acute migraine: results from a multicenter, double-blind, randomized, parallel-group, single-dose, placebo-controlled study That time advantage matters when you’re trying to get through a workday or put your kids to bed. If your headache is more than mild and you don’t have stomach issues or other contraindications to aspirin, a combination tablet is generally the stronger first choice.

For tension-type headaches specifically, ibuprofen or acetaminophen alone is usually enough. The underlying pain mechanism is different: increased sensitivity in the muscles and tissues around your skull, rather than the neurovascular storm of a migraine.5Techniques in Regional Anesthesia and Pain Management. Pathophysiology of migraine and tension-type headache A standard dose of either one, taken early when the headache begins, tends to work well.

The Caffeine Question

Caffeine has a genuinely strange relationship with headaches. It blocks adenosine receptors in the brain, which reduces the vasodilation that contributes to head pain. It also boosts the absorption and effectiveness of common painkillers like acetaminophen and ibuprofen.6PubMed Central. Caffeine and Headache: Exploring the Multifaceted Relationship That’s why it’s included in many over-the-counter headache formulas.

But caffeine is also a headache trigger. If you drink coffee daily and skip it one morning, the resulting withdrawal headache can be fierce. Excessive or inconsistent caffeine intake can set off migraines through mechanisms like magnesium depletion and sleep disruption.6PubMed Central. Caffeine and Headache: Exploring the Multifaceted Relationship The practical takeaway: a cup of coffee or tea alongside your painkiller can genuinely speed up relief, but if you’re getting headaches regularly, your caffeine habit itself might be part of the problem. Keeping your intake steady from day to day matters more than the total amount.

Cold Therapy on the Neck

Applying something cold to your head or neck is an old remedy that actually holds up under scrutiny. A randomized trial tested a frozen neck wrap applied at the onset of migraine, targeting the carotid arteries. After 30 minutes, pain dropped by about 32% in people wearing the wrap, while it actually increased by a similar amount in the control group.7PubMed Central. Randomized controlled trial: targeted neck cooling in the treatment of the migraine patient The proposed explanation is that cooling the blood flowing through intracranial vessels reduces the inflammatory cascade driving the pain.

You don’t need a specialized device. A bag of frozen peas or ice cubes wrapped in a towel, placed on the back of your neck or at the base of your skull, works. Apply it for 15 to 20 minutes. Some people prefer alternating cold with a warm compress on the forehead, though the controlled evidence is strongest for cold applied to the neck area.

Peppermint Oil and Other Topical Options

Rubbing diluted peppermint oil across your temples and forehead is one of those folk remedies that has some laboratory support behind it. Studies have found that a preparation of peppermint oil combined with ethanol produces a measurable analgesic effect and reduces sensitivity to headache pain.8PubMed. Effect of peppermint and eucalyptus oil preparations on neurophysiological and experimental algesimetric headache parameters The menthol in peppermint oil activates cold receptors in the skin, which may help interrupt pain signaling. It won’t replace a painkiller for a severe headache, but it’s a reasonable add-on for mild tension headaches, and the cooling sensation itself feels good.

Apply a small amount of diluted peppermint oil (mixed with a carrier oil to avoid skin irritation) to the temples, forehead, and the muscles at the base of the skull. Avoid getting it near your eyes. Commercial “headache roll-ons” are essentially this, often with lavender or eucalyptus oil added.

When Headaches Keep Coming Back

Here’s where things get counterintuitive: taking painkillers too often can itself cause headaches. Medication-overuse headache affects roughly 5% of the general population and typically develops when someone uses acute headache treatments on 10 or more days per month (or 15 or more for simple analgesics) for longer than three months.9PubMed Central. Medication overuse headache: a review of current evidence and management strategies The result is a vicious cycle: headaches that persist precisely because of the medication you’re taking to treat them.

If you find yourself reaching for painkillers most days of the week, that pattern is itself a red flag. The standard treatment is to withdraw the overused medication, often with medical supervision, because headaches temporarily worsen before they improve. This is a situation where talking to a doctor is essential rather than just continuing to self-treat.

Prescription Medications for Severe or Frequent Headaches

For migraines that don’t respond well to over-the-counter options, prescription medications are the next step. Triptans (sumatriptan is the best-known example) have been the standard acute migraine treatment for decades. They work by activating serotonin receptors that constrict blood vessels and block pain signaling in the trigeminal nerve. They act quickly, but their vasoconstrictive effects mean they aren’t safe for people with cardiovascular disease or uncontrolled high blood pressure.10Journal of Education, Health and Sport. Advances in Acute Migraine Therapy: Triptans Compared with CGRP Receptor Antagonists

A newer class called gepants (like ubrogepant and rimegepant) works by blocking CGRP, a protein heavily involved in migraine pain transmission. Gepants don’t cause vasoconstriction, which makes them a better fit for people who can’t take triptans. The tradeoff is a somewhat slower onset of action.10Journal of Education, Health and Sport. Advances in Acute Migraine Therapy: Triptans Compared with CGRP Receptor Antagonists If you get migraines often enough that over-the-counter pills aren’t cutting it, these are conversations worth having with your doctor.

Acupressure and Physical Approaches

Applying firm pressure to specific points on the head, neck, and hands is something people do instinctively, and there’s evidence it does more than just distract you from the pain. In a randomized controlled trial comparing acupressure to muscle relaxant medication for chronic headache, acupressure produced lower pain scores both immediately after a month of treatment and at six-month follow-up.11PubMed. Effect of acupressure and trigger points in treating headache: a randomized controlled trial The most commonly targeted points include the web between your thumb and index finger (known as LI4 in acupressure terminology) and the base of the skull where the neck muscles attach.

Forward head posture, the kind you develop from years of hunching over screens, is also linked to tension-type headaches. A study of patients with chronic neck pain, tension headaches, and forward head posture found that a combination of targeted exercises (including eyeball exercises to address suboccipital muscle tension and cervical stabilization work) produced significant improvements in headache impact scores and muscle tone compared to standard care.12PubMed Central. Improving Function and Quality of Life in Patients with Chronic Neck Pain, Tension-Type Headache, and Forward Head Posture: The Role of Eyeball Exercise and Cervical Stabilization Programs If your headaches tend to start at the back of the head and creep forward, poor posture may be a contributing factor worth addressing with a physiotherapist.

Exercise as Prevention

This one comes with a caveat. A single intense workout can trigger a migraine, particularly in people who aren’t used to the activity level. But regular moderate exercise appears to raise the threshold for headache triggering over time, making attacks less frequent.13PubMed Central. The association between migraine and physical exercise The effect is prophylactic rather than acute: exercising during a headache isn’t the advice. Instead, building a consistent routine of moderate aerobic activity (brisk walking, swimming, cycling) several times a week helps reduce how often headaches occur in the first place.

If exercise has triggered headaches for you before, start at a low intensity and ramp up gradually. Staying well-hydrated during exercise and avoiding working out in extreme heat also helps. The goal is consistency, not heroics.

Supplements That May Help Prevent Headaches

Several nutritional supplements have enough evidence behind them to be worth mentioning, though they’re best thought of as preventive measures rather than acute treatments. Magnesium, riboflavin (vitamin B2), and coenzyme Q10 are the most studied. A randomized, placebo-controlled trial of a supplement combining all three found that migraine pain intensity dropped significantly compared to placebo, and patients’ self-rated headache impact improved substantially.14PubMed Central. Improvement of migraine symptoms with a proprietary supplement containing riboflavin, magnesium and Q10: a randomized, placebo-controlled, double-blind, multicenter trial

CoQ10 supplementation on its own has been linked to reduced frequency and duration of migraine attacks across multiple studies, along with less nausea and lower peak pain levels during attacks.15PubMed Central. Evaluating the Role of Coenzyme Q10 in Migraine Therapy-A Narrative Review A broader review of the evidence identifies magnesium, riboflavin, CoQ10, vitamin D, vitamin B12, and alpha-lipoic acid as having both prophylactic and therapeutic effects in migraine patients.16PubMed. The role of nutrients in the pathogenesis and treatment of migraine headaches: Review These supplements tend to take weeks to months of consistent use before you notice a difference, and they work best for people who get frequent headaches rather than someone dealing with a single bad afternoon.

Hormonal Headaches in Women

If you’re a woman who notices headaches clustering around your period, you’re not imagining the connection. Migraine attacks occur during menstruation in about 60% of women with migraines, driven by the drop in estrogen that happens in the days before and during your period.17PubMed. Estrogens, progestins, and headache This estrogen withdrawal sets off a chain of biochemical changes involving prostaglandin production and the body’s own pain-regulation systems.

For menstrual migraines, anti-inflammatory drugs like naproxen or ibuprofen taken a day or two before the expected onset (known as “mini-prophylaxis”) can blunt the attack. In cases that don’t respond to this approach, hormonal strategies that smooth out the estrogen drop, such as extended-cycle oral contraceptives or supplemental estrogen patches during the perimenstrual window, are sometimes used. These decisions depend on your overall health profile and should be made with a doctor, but knowing that the pattern is hormonal rather than random is the first step toward targeted treatment.

Headaches in Children and Teens

Managing headaches in younger people requires a somewhat different approach. Many common headache medications haven’t been as thoroughly studied in pediatric populations, and kids are more susceptible to side effects from certain drugs. For children and adolescents with headaches, nonpharmacological management and lifestyle modification, including adequate sleep, regular meals, hydration, physical activity, and identifying and avoiding triggers, are emphasized as foundational strategies.18PubMed Central. The optimal management of headaches in children and adolescents

Screen time and school stress are common aggravating factors in this age group. A headache diary, tracking what the child ate, how they slept, what they were doing, and how much screen time they had, can reveal patterns that are hard to spot otherwise. For occasional headaches, age-appropriate doses of ibuprofen or acetaminophen are generally safe, but if headaches happen weekly or more, a pediatrician or pediatric neurologist should be involved.

Weather Changes and Barometric Pressure

Many headache sufferers swear their head pain ramps up before a storm, and research supports a real connection. One proposed mechanism is that barometric pressure changes alter sinus pressure in ways that activate pain pathways, particularly in people with structural sinus abnormalities.19PubMed Central. Impact of Barometric Pressure Changes on the Severity, Frequency, and Duration of Migraine Attacks: A Systematic Review of the Literature You obviously can’t control the weather, but knowing that barometric shifts are a trigger for you lets you prepare: keeping medication handy on days when the forecast shows a pressure drop, staying extra hydrated, and avoiding other known triggers on those days can reduce the cumulative load.

Some people track barometric pressure using weather apps and find it helps them anticipate bad headache days. The evidence here is less about treatment and more about awareness. If every approaching cold front brings a headache, you’re not being dramatic; the pressure change is a genuine physiological trigger, and preemptive treatment (taking a painkiller at the first sign of head discomfort rather than waiting for full-blown pain) tends to work better than playing catch-up.

When to Worry

Most headaches are benign, but certain features warrant prompt medical attention. A sudden, severe headache that reaches maximum intensity within seconds (often described as a “thunderclap”) can signal a brain bleed. A headache with fever, stiff neck, confusion, or a rash raises concern for meningitis. Headaches that progressively worsen over days or weeks, headaches that wake you from sleep regularly, or a completely new headache pattern after age 50 all deserve a doctor’s evaluation. Vision changes, weakness on one side, slurred speech, or personality changes alongside head pain are emergency symptoms.

For the vast majority of headaches that don’t fall into those categories, the combination of hydration, rest in a dim and quiet room, an appropriate over-the-counter painkiller taken early, and cold application to the neck covers a lot of ground. If headaches are a regular feature of your life, tracking triggers, considering preventive supplements or prescription options, and examining habits like caffeine intake, sleep consistency, and posture can shift you from repeatedly treating individual episodes to having fewer episodes in the first place.