How to Get Rid of a Headache: Fast Relief, Safe Medicines and Prevention

Knowing how to get rid of a headache starts with one question: what kind of headache is it? A tight band around the forehead, a pounding one-sided throb, pressure behind the cheeks and a stabbing pain behind one eye all respond to different treatment. How to Get Rid of a Headache This guide gives you a clear order of action for the first ten minutes, exact adult doses and daily limits for common painkillers, home remedies that have real evidence behind them (and the ones that do not), special advice for pregnancy, children and older adults, and the warning signs that mean you should stop self-treating and get medical help.
Most headaches are harmless and settle within hours. How to Get Rid of a Headache Still, the right move at the right time can cut that wait considerably, and the wrong move, such as taking painkillers every day, can make headaches more frequent.
Step 1: Work Out Which Headache You Have
The fastest way to choose the right remedy is to match your symptoms to a type.
| Type | What it feels like | How long it lasts without treatment | Best first move |
| Tension-type | Dull, tight band or pressure on both sides of the head; mild to moderate | 30 minutes to several days | Heat on neck and shoulders, relaxation, a simple painkiller |
| Migraine | Throbbing, often one-sided, moderate to severe; nausea, sensitivity to light and sound; worse with movement | 4 to 72 hours | Dark quiet room, cold pack, medicine at the first sign |
| Cluster | Severe burning or stabbing pain around one eye, with a watering eye and blocked or runny nostril on the same side; restlessness | 15 minutes to 3 hours, one to eight times a day for weeks | Needs a doctor and prescription treatment |
| Sinus-related | Pressure around the cheeks, forehead and eyes with congestion; worse when bending forward | Days, usually alongside a cold or allergy | Steam, saline rinse, warm compress |
| Dehydration or hunger | Dull, all-over ache | Eases within hours of fluids or food | Fluids and a snack |
| Medication overuse | Near-daily headache, often worse on waking | Ongoing | Doctor-guided plan |
Two points are worth knowing. First, many headaches people call “sinus headaches” turn out to be migraines, especially when there is no fever or thick, discoloured nasal discharge. How to Get Rid of a Headache Second, you can have more than one type, so your headache this week may not match last month’s.
Step 2: Your First 10 Minutes, Step by Step
When a headache starts, work through this order:
- Check for red flags. If the headache is sudden and severe, follows a head injury, or comes with fever and a stiff neck, confusion, weakness or trouble speaking, skip home treatment and get emergency care (full list below).
- Drink water. Sip one to two glasses (250 to 500 ml). If you have been vomiting, sweating heavily or have diarrhoea, use an oral rehydration solution instead of plain water.
- Take a painkiller early if you need one. Medicine works best when taken at the first sign of pain. Take ibuprofen or naproxen with food.
- Use temperature. Cold on the forehead or temples for migraine; warmth on the neck and shoulders for tension.
- Cut stimulation. Dim the lights, turn off screens and move somewhere quiet.
- Release pressure. Take off tight hats, headbands or goggles, loosen a ponytail and unclench your jaw.
- Eat if it has been more than four hours since your last meal.
- Rest and breathe slowly for five minutes.
Then reassess. Many mild headaches ease within 30 to 60 minutes. If the pain is getting worse after an hour or two, or new symptoms appear, move to the medical options below.
Home Remedies That Actually Help
Cold pack for migraine
Wrap an ice pack or a bag of frozen vegetables in a thin cloth and hold it against your forehead, temples or the back of your neck for 15 minutes, then take a 15-minute break. How to Get Rid of a Headache Research on cold therapy is limited, but it is low risk and many people with migraine find it eases throbbing. Never place ice directly on bare skin.
Heat for tension
A warm compress, heating pad or hot shower for 15 to 20 minutes can loosen tight neck and shoulder muscles that feed a tension headache.
Rehydrate properly
A headache caused by fluid loss usually eases between about 30 minutes and a few hours after you rehydrate, so water is not an instant cure. Sip steadily rather than gulping. How to Get Rid of a Headache Add electrolytes (an oral rehydration sachet or a sports drink) after vomiting, heavy sweating, illness or a night of alcohol.
Eat something balanced
Skipping meals can bring on a headache. Combine protein with slow-release carbohydrates, such as eggs on wholegrain toast, yoghurt with oats, or a banana with peanut butter. If missed meals are your pattern, eat small meals at regular times.
Use caffeine carefully
About 100 to 200 mg of caffeine, roughly one to two cups of coffee or tea, taken early can ease a headache and helps simple painkillers work better. The catch: regular heavy intake (above about 400 mg a day) or irregular intake can trigger withdrawal headaches, which start 12 to 24 hours after your last dose. If you drink coffee daily, keep your amount steady.
Dim the lights and lower the noise
Bright or flickering light worsens migraine. How to Get Rid of a Headache Close the curtains, wear sunglasses outdoors and add an anti-glare filter to your screen.
Massage and acupressure
Use firm circular pressure on your temples, the base of your skull and the tops of your shoulders for two to three minutes. How to Get Rid of a Headache For acupressure, press the fleshy web between your thumb and forefinger for about a minute on each hand. Evidence is modest, but it is safe for most people. Skip this hand point during pregnancy.
Gentle neck stretches
Slowly tuck your chin toward your chest and hold for 20 to 30 seconds. How to Get Rid of a Headache Then tilt your ear toward each shoulder and hold for the same time. Add slow shoulder rolls. Stop if any movement increases pain or causes tingling in your arms.
Slow breathing
Try box breathing: breathe in for four counts, hold for four, breathe out for four and hold for four. Repeat for about five minutes. Progressive muscle relaxation, where you tense and release each muscle group from your shoulders downward, works on the same principle: lowering the stress that tightens your head and neck.
A short rest
Lie down in a quiet, dark room for 20 to 30 minutes. How to Get Rid of a Headache A short nap can help, but long or frequent daytime naps can disrupt night sleep, which is one of the most reliable headache triggers.
Diluted peppermint oil
Small studies suggest peppermint oil (around 10 percent, diluted in a carrier oil) rubbed on the forehead and temples can reduce tension headache pain. Do a patch test first, keep it away from your eyes and do not use it on young children.

Painkillers: Doses, Limits and Cautions
Over-the-counter medicines work well for most tension headaches and many mild migraines. Always read the product label, because strengths differ between countries and brands.
| Medicine (adults) | Typical dose | Daily limit without a doctor’s advice | Key cautions |
| Paracetamol (acetaminophen) | 500 to 1,000 mg every 4 to 6 hours | 4,000 mg (many doctors suggest staying nearer 3,000 mg) | Check cold and flu products for hidden paracetamol; take extra care with liver disease or regular heavy alcohol use |
| Ibuprofen | 200 to 400 mg every 4 to 6 hours, with food | 1,200 mg | Avoid with stomach ulcers, kidney or heart failure, NSAID-triggered asthma or blood thinners unless a doctor agrees |
| Naproxen sodium | 220 mg every 8 to 12 hours, with food | 660 mg | Same cautions as ibuprofen; lasts longer |
| Aspirin | 325 to 650 mg every 4 to 6 hours | Follow the label (usually up to 4,000 mg) | Never for children or teenagers; raises bleeding risk |
Some practical rules:
- Act early. A smaller dose taken at the first sign usually works better than a larger one taken late.
- Choose the form. Soluble or liquid products may start working slightly sooner than tablets.
- Never double up on the same class. Do not combine two NSAIDs (for example ibuprofen plus aspirin). Many adults can take paracetamol alongside an NSAID, but each daily limit still applies, so check with a pharmacist.
- Protect your stomach. Take NSAIDs with food and stop if you notice black stools or stomach pain.
- Avoid codeine and opioid-based headache products. They are linked to rebound headaches and dependence.
The rebound headache trap
Taking pain medicine too often can cause medication overuse headache, where the treatment itself keeps the headache cycle going. As a general guide, plain painkillers should be needed on no more than two to three days a week. How to Get Rid of a Headache Combination painkillers and migraine-specific medicines such as triptans should be limited to fewer than 10 days a month. If you are above these levels, book a doctor’s visit rather than adding more tablets.
Migraine: When Standard Painkillers Are Not Enough
If over-the-counter medicine does not control your migraines, a doctor can prescribe stronger options.
- Triptans (such as sumatriptan) work best when taken at the start of the headache phase. How to Get Rid of a Headache They come as tablets, nasal sprays and injections. Common side effects are tingling, warmth, and heaviness in the face, limbs or chest. They are not suitable for people with heart disease, a past stroke or uncontrolled high blood pressure.
- Anti-sickness medicine taken early helps with nausea and can improve how well painkillers are absorbed.
- Newer CGRP-targeting medicines include tablets used during an attack (the “gepants”), a different acute option called lasmiditan, and monthly or quarterly injections used for prevention. How to Get Rid of a Headache They are options when triptans fail or are unsafe.
- Preventive treatment is worth discussing if you have four or more migraine days a month or attacks that disrupt work and daily life.
Cluster Headache: A Medical Problem
Cluster headaches are brief but extremely severe, and ordinary painkillers act too slowly. How to Get Rid of a Headache A doctor can prescribe fast treatment, such as pure oxygen delivered through a mask or a triptan given by injection or nasal spray, plus preventive medicine during an active cluster period. If your pain fits the description in the table above, get a proper diagnosis.
Sinus Headache: What Works
For pressure from a blocked nose or allergies, try:
- A saline nasal spray or rinse. Use distilled, sterile or previously boiled and cooled water for rinses, never straight tap water.
- A warm compress across the cheeks and nose, or steam from a hot shower.
- An antihistamine if allergies are the cause.
- A decongestant spray for no more than three days, because longer use can worsen congestion.
See a doctor if symptoms last more than 10 days, you have a fever, or the discharge is thick and coloured, since a bacterial infection may need treatment.
Supplements and Herbal Remedies: What the Evidence Says
Most supplements are studied for preventing migraine, not for stopping an attack that has already started. How to Get Rid of a Headache Results are mixed, so treat them as add-ons and speak to a doctor first, particularly if you take other medicines.
- Magnesium: Trials have used about 400 to 600 mg daily, which is above the usual 350 mg upper limit for supplemental magnesium, so get medical advice first. It can cause diarrhoea and is risky with kidney disease.
- Riboflavin (vitamin B2): Studies used 400 mg daily for at least three months. It turns urine bright yellow, which is harmless.
- Coenzyme Q10: Studies used around 100 mg three times daily and found it may reduce attack frequency.
- Ginger: Small trials suggest ginger powder or tea may ease migraine pain and nausea. It is low risk for most people.
- Feverfew: May reduce how often migraines occur. Avoid it in pregnancy and with blood thinners.
- Butterbur: Avoid it. Concerns about liver damage outweigh the possible benefit.
Extra Care for Pregnancy, Children and Older Adults
Pregnancy. Paracetamol at the lowest effective dose for the shortest time is generally the first choice. NSAIDs such as ibuprofen, naproxen and aspirin are usually avoided, particularly from about 20 weeks. How to Get Rid of a Headache Any new, severe headache after 20 weeks, especially with swelling, visual changes, upper abdominal pain or high blood pressure, needs same-day medical care because it can signal pre-eclampsia.
Children. Dose paracetamol or ibuprofen by your child’s weight exactly as the product label says, or ask a pharmacist. How to Get Rid of a Headache Do not give aspirin to children or teenagers. A child with headache plus fever, stiff neck, repeated vomiting, drowsiness or a recent head knock needs urgent assessment.
Adults over 50. A brand-new headache after 50 deserves a medical check. How to Get Rid of a Headache Scalp tenderness, pain in the jaw when chewing, or any vision change can point to a condition that needs same-day treatment to protect eyesight. Older adults are also more prone to NSAID side effects and medicine interactions.
How to Stop the Next Headache Before It Starts
- Keep a headache diary. Note the date, time, duration, severity, what you ate, how you slept, stress levels, medicine taken and how well it worked. Patterns appear within a few weeks.
- Protect your sleep. Aim for 7 to 9 hours with a regular bedtime and wake-up time, and keep screens away for the last hour.
- Eat regularly and stay hydrated through the day.
- Exercise regularly. Aim for about 150 minutes of moderate activity a week, building up gradually, because sudden hard exertion can itself trigger a headache.
- Manage stress with relaxation, breathing, yoga or counselling. Cognitive behavioural therapy and biofeedback both have evidence for tension headache and migraine.
- Rest your eyes. Every 20 minutes, look at something 20 feet (about 6 metres) away for 20 seconds. How to Get Rid of a Headache If headaches follow screen work, get your eyes tested.
- Check your posture and set up your desk so your screen is at eye level.
- Know your triggers. Common ones include certain foods (aged cheese, processed meat, chocolate for some people), alcohol, strong smells, weather changes, hormonal shifts around periods and missed sleep.
- Chewing and clenching. Cut back on gum and nail biting, and ask a dentist about a night guard if you grind your teeth.

When to Get Medical Help
Go to the emergency department or call emergency services if you have:
- A sudden, severe headache that peaks within a minute (often described as the worst of your life)
- A headache after a head injury or fall
- Fever with a stiff neck or rash
- Confusion, seizure, fainting, weakness, numbness, trouble speaking or double vision
- A very painful red eye with blurred vision or halos around lights
- A headache that keeps getting worse despite treatment
Book a doctor’s appointment if:
- You get headaches on two or more days a week
- You need pain medicine on more than two or three days a week
- Your usual headache pattern has changed
- Headaches wake you at night or are worst on waking
- Headaches are brought on by coughing, straining or exercise
- Pain interferes with work, school or family life
Frequently Asked Questions
How long does it take for a headache to go away? It depends on the type. How to Get Rid of a Headache A tension-type headache can last from 30 minutes to several days, while an untreated migraine lasts 4 to 72 hours. Oral painkillers usually take 30 to 60 minutes to work.
Can I get rid of a headache without medicine? For mild tension headaches, often yes. Fluids, food, rest, heat or cold, gentle stretching and slow breathing are worth trying first. Migraines often need medicine taken early.
Will drinking water cure my headache right away? Not instantly. If dehydration is the cause, expect improvement over roughly half an hour to a few hours.
Why do I wake up with a headache? Common causes include poor or short sleep, teeth grinding, caffeine withdrawal overnight, alcohol the evening before, and medication overuse. Frequent morning headaches, especially with loud snoring or daytime sleepiness, are worth raising with a doctor because they can be linked to sleep apnoea.
How do I know if my headache is from eye strain? Eye-strain headaches tend to build up after long screen use or close work and ease when you rest your eyes. If you also have nausea, vomiting, or the headache is there when you wake, an eye cause is less likely.
Is it safe to take painkillers every day? No. Frequent use can cause medication overuse headache and, over time, harm the stomach, kidneys or liver. If you need pain relief most days, see a doctor for a proper plan.
Key Takeaways: How to Get Rid of a Headache
The most effective way to get rid of a headache is to identify its type, act early, and match the remedy to the cause: cold and a dark room for migraine, heat and relaxation for tension, fluids and food when you are dehydrated or hungry. How to Get Rid of a Headache Use painkillers at the correct dose and keep them to two or three days a week. Build prevention habits, and treat sudden, severe or unusual headaches as medical emergencies.




One Comment