What to Do for Headaches: Relief That Actually Works

Most headaches respond well to a combination of over-the-counter pain relief, hydration, and rest in a quiet environment. The right approach depends on what type of headache you’re dealing with and how often it happens. Here’s what actually works, from the fastest fixes to longer-term strategies.

Start With the Basics

Before reaching for medication, address the most common headache triggers. Dehydration is one of the biggest culprits, and the fix is simple: sip water slowly. A dehydration headache typically fades within a few hours once you start rehydrating, but gulping large amounts quickly can cause nausea. Small, steady sips work better.

At the same time, move to a dark, quiet space if you can. This isn’t just about comfort. Pain-sensing neurons in the membranes surrounding your brain become more active within seconds of light exposure, and they stay fired up even after the light source is removed. It takes roughly 20 to 30 minutes in darkness for those neurons to calm down. Reducing noise and screen time during a headache works on the same principle: less sensory input means less fuel for the pain cycle.

Skipping meals is another frequent trigger. If you haven’t eaten in several hours, a snack with protein and complex carbohydrates can help stabilize blood sugar and take the edge off.

Over-the-Counter Pain Relief

When basic measures aren’t enough, OTC painkillers are the most accessible next step. Ibuprofen and acetaminophen are both effective for tension-type headaches and mild migraines. A combination tablet containing 250 mg of acetaminophen and 125 mg of ibuprofen can be taken every eight hours, up to six tablets per day. If you’re using acetaminophen alone, the hard ceiling is 4,000 mg in 24 hours, though staying well below that limit is wise for your liver.

Aspirin, naproxen, and a classic combination of acetaminophen plus aspirin plus caffeine all have established evidence for headache relief as well. The caffeine component helps because it narrows blood vessels slightly and boosts the absorption of the other ingredients. If you have a preferred painkiller that works for you, timing matters more than brand: taking it early, when the headache is still mild, produces better results than waiting until the pain is severe.

The Rebound Headache Trap

Here’s the catch with painkillers: using them too often can cause the very headaches you’re trying to treat. This is called medication overuse headache, and it’s more common than most people realize. Simple painkillers like ibuprofen or acetaminophen can trigger the cycle if used more than 15 days per month. For combination painkillers, triptans, or opioids, the threshold is even lower, just 10 days per month.

The pattern is predictable. You take medication, the headache goes away, it comes back sooner than expected, you take more medication. Over weeks, your baseline shifts and the headaches become nearly daily. If this sounds familiar, the solution is gradually reducing the frequency of pain medication, which usually causes a rough withdrawal period of one to two weeks before the cycle breaks.

What Works for Migraines Specifically

Migraines are a different beast from tension headaches. They tend to be one-sided, pulsing, and accompanied by nausea or sensitivity to light and sound. Standard OTC painkillers can help mild migraines, but moderate to severe attacks often need prescription-level treatment.

Triptans remain the most widely prescribed option for stopping a migraine once it starts. A newer class of medications called gepants works differently: instead of acting inside the brain, they block a pain-signaling protein outside of it. This distinction matters because gepants tend to cause fewer side effects like the chest tightness or drowsiness some people experience with triptans. Gepants can also be used preventively, not just during an attack, which makes them more versatile.

If you’re getting migraines more than a few times per month, prevention becomes more important than treatment. Magnesium supplements are one of the better-studied options. In one clinical study, 59% of patients achieved adequate migraine control with magnesium oxide alone, and when riboflavin (vitamin B2) was added, 94% had their migraines controlled. These supplements are inexpensive, widely available, and have minimal side effects, making them a reasonable first attempt at prevention.

Physical Techniques That Help

Cold or warm compresses applied to the forehead, temples, or the back of the neck can provide genuine relief. Cold tends to work better for migraines by numbing the area and reducing inflammation, while warmth is often more effective for tension headaches because it relaxes tight muscles in the neck and scalp.

Gentle pressure on the muscles between your thumb and index finger, or along the base of your skull where it meets the neck, can ease tension-type headaches. This isn’t a cure, but it interrupts the muscle tightness that feeds the pain. Slow, deliberate stretching of the neck and shoulders accomplishes something similar, especially if your headache was triggered by hours at a desk or staring at a screen.

Caffeine deserves a special mention. A cup of coffee or tea at the onset of a headache can be surprisingly effective because caffeine constricts dilated blood vessels. But this only works if you’re not already a heavy caffeine consumer, and relying on it daily puts you at risk for caffeine withdrawal headaches on the days you skip it.

Wearable Devices for Frequent Headaches

If you deal with headaches regularly and want to reduce your reliance on medication, several FDA-cleared wearable devices now offer drug-free options. These work by sending mild electrical or magnetic pulses to specific nerves involved in headache pain.

  • Cefaly sits on the forehead and stimulates branches of the trigeminal nerve, which plays a central role in migraine pain. It’s used both during attacks and as daily prevention.
  • Nerivio wraps around the upper arm and triggers a pain-modulation response. You set the intensity high enough to feel it but below the point of discomfort, and the device essentially teaches your nervous system to dial down the migraine signal.
  • gammaCore is held against the neck and stimulates the vagus nerve, which inhibits pain pathways traveling up to the brain.

These devices aren’t cheap, but they’re worth considering if you’re hitting the monthly limits on pain medication or if you prefer non-drug approaches. Most require a prescription.

Headaches That Need Urgent Attention

Most headaches are uncomfortable but harmless. A small number signal something serious. The headache that should send you to an emergency room is the sudden, severe “thunderclap” headache that reaches maximum intensity within seconds. This can indicate bleeding in the brain.

Other warning signs include a headache paired with fever and stiff neck, any headache with neurological symptoms like confusion, vision changes, weakness on one side of the body, or difficulty speaking. A headache that follows a head injury, even a seemingly minor one, also warrants prompt evaluation. New or changed headache patterns after age 50 carry more risk because conditions like inflamed blood vessels in the temples become more likely with age.

A headache that gets progressively worse over days or weeks, rather than coming and going, is also a red flag. The same applies to headaches that change dramatically with position, worsening when you lie down or stand up, which can point to abnormal pressure inside the skull.