How to Deal With a Migraine From First Signs to Recovery

The fastest way to deal with a migraine is to treat it early, ideally during the first signs of an attack, with the right pain reliever for your severity level and a cold pack applied to your forehead. But managing migraines well goes beyond popping a pill. Understanding the phases of an attack, avoiding overuse of medication, and making targeted lifestyle changes can all reduce how often migraines strike and how badly they hit.

Recognizing the Four Phases of an Attack

A migraine isn’t just a headache. It unfolds in up to four distinct phases, and catching it early gives you the best chance of cutting it short.

The first phase, called the prodrome, can begin up to 24 hours before the headache itself. You might notice mood changes, difficulty concentrating, food cravings, or unusual fatigue. These early signals are your window to act. Some people also experience an aura phase, which involves visual disturbances like flashing lights or zigzag lines, tingling in the hands or face, or difficulty speaking. Aura typically lasts 20 to 60 minutes and serves as a more urgent warning that the headache phase is coming.

The headache phase lasts anywhere from 4 to 72 hours and brings throbbing pain (usually on one side), nausea, and intense sensitivity to light and sound. Afterward comes the postdrome, sometimes called a “migraine hangover,” which can linger for up to 48 hours. Postdrome symptoms include fatigue, a stiff neck, continued light sensitivity, and trouble concentrating. Knowing that this hangover phase is normal can save you from worrying that something else is wrong.

Over-the-Counter Pain Relief

For mild to moderate migraines, standard painkillers are the recommended first step. Ibuprofen works relatively quickly. In clinical trials, about one in three people who took it saw their pain drop from moderate or severe to mild within two hours, and about one in seven had complete relief in that same window. Naproxen is slower to kick in but lasts longer in your system, which means you may not need a second dose. Its complete pain relief rate at two hours is lower (roughly one in ten), but for migraines that tend to drag on, the extended effect can be worthwhile. Acetaminophen is another option in this category.

The key with any of these is timing. Taking them at the first sign of pain, or even during the prodrome phase, is significantly more effective than waiting until the headache is fully established.

Prescription Options for Moderate to Severe Attacks

When over-the-counter medications don’t cut it, triptans are the standard prescription treatment for moderate to severe migraines. These work by narrowing blood vessels in the brain and blocking pain pathways. At standard doses, triptans provide headache relief within two hours for 42% to 76% of people, and complete pain freedom for 18% to 50%, depending on the specific triptan and how it’s taken. The injectable form of sumatriptan has the strongest track record: about one in two people get complete relief within two hours.

If triptans don’t work for you or you can’t take them due to heart-related conditions, newer medications that target a protein called CGRP (involved in migraine pain signaling) are available both for stopping attacks and preventing them. Your doctor can help determine which class of medication fits your situation.

The Medication Overuse Trap

One of the most important things to know about treating migraines is that taking pain medication too often can actually make your headaches worse and more frequent. This is called medication overuse headache, and it creates a frustrating cycle where the treatment becomes part of the problem.

The general limits to keep in mind: use over-the-counter painkillers fewer than 14 days per month, and limit triptans or combination pain relievers to no more than 9 days per month. If you find yourself reaching for medication more often than this, it’s a sign that you need a preventive strategy rather than just treating each attack as it comes.

Cold Therapy and Other Immediate Relief

Placing a cold pack on your forehead and temples during an attack is one of the simplest and most effective non-drug strategies. Cold constricts blood vessels (reducing swelling), slows nerve conduction (which eases pain), and lowers metabolic activity in the area. Studies show significant drops in pain scores after 30 to 60 minutes of cold application. The National Headache Foundation recommends this as a go-to during any attack.

Beyond cold packs, retreating to a dark, quiet room helps reduce the sensory overload that makes migraines worse. Some people find relief with gentle pressure on their temples or the base of the skull. FDA-cleared neuromodulation devices, which deliver mild electrical or magnetic stimulation through a band worn on the forehead, neck, or arm, offer another drug-free option for reducing headache severity and duration.

Supplements That Reduce Migraine Frequency

Three supplements have enough clinical evidence behind them to be recommended by headache specialists for migraine prevention. Magnesium oxide at 400 to 500 milligrams daily is the most widely studied and is especially useful if your migraines come with aura. Riboflavin (vitamin B2) at 400 milligrams daily has been shown to reduce the number of attacks over time. CoQ10 at 300 milligrams daily also reduces migraine frequency in adults.

These supplements generally take two to three months of consistent daily use before you’ll notice a difference. They work best as part of a broader prevention plan rather than as standalone treatments, and they’re a reasonable starting point if you want to reduce attack frequency before trying prescription preventives.

Identifying and Avoiding Your Triggers

Not everyone has the same triggers, but certain foods are well-established culprits. Tyramine, a compound that builds up in aged and fermented foods, is one of the most common dietary triggers. It’s found in aged cheeses, cured meats, beef and chicken liver, overripe fruits, bananas, and dried fruits like raisins. Processed meats containing nitrates or nitrites, including hot dogs, bacon, salami, pepperoni, bologna, beef jerky, and smoked fish, are another frequent offender.

Keeping a headache diary for a few weeks can help you spot patterns. Track what you ate, how much you slept, your stress level, weather changes, and where you are in your menstrual cycle if applicable. Over time, your personal trigger profile will become clearer, and you can make targeted changes rather than unnecessarily eliminating foods that don’t actually affect you.

Lifestyle Changes That Lower Attack Frequency

Sleep and hydration are two of the most impactful lifestyle factors. Aim for 7 to 8 glasses of water (8 ounces each) per day. Even mild dehydration can lower the threshold for a migraine attack. For sleep, consistency matters more than duration. Go to bed and wake up at the same time every day, including weekends. Keep your bedroom dark, cool, and quiet. Avoid screens in bed, skip naps, and if you can’t fall asleep, get up and do something calming rather than lying there. A bedtime relaxation technique like progressive muscle relaxation or slow breathing can help signal your brain that it’s time to wind down.

Regular aerobic exercise, at least 30 minutes most days, has been shown to reduce migraine frequency over time. Start at a comfortable intensity if exercise itself is one of your triggers, and build up gradually. Stress management matters too. You don’t need to eliminate stress (that’s unrealistic), but having a consistent practice for managing it, whether that’s meditation, yoga, or simply daily walks, gives your nervous system fewer reasons to fire off a migraine.

When a Headache Is Something More Serious

Most migraines, while miserable, are not dangerous. But certain warning signs suggest the headache could be caused by something other than migraine and need immediate evaluation. A sudden, severe headache that reaches peak intensity within seconds (sometimes called a “thunderclap” headache) warrants emergency attention. So does a headache accompanied by fever, night sweats, confusion, seizures, or weakness on one side of the body.

New-onset headaches during or after pregnancy should be evaluated for vascular or hormonal complications. The same is true for people with compromised immune systems or anyone experiencing a headache pattern that’s dramatically different from their usual migraines. If your headache is the worst you’ve ever had, or feels fundamentally different from your typical attacks, that’s reason enough to get checked out.