For heartburn that shows up occasionally — after a big, spicy, or late meal — OTC medicines are a genuinely appropriate and effective first-line choice, and you usually don't need a doctor to start (MedlinePlus lists antacids, H2 blockers, and PPIs as reasonable self-care once lifestyle steps aren't enough). The honest caveat: these relieve the symptom but do not cure reflux, and the NHS states plainly that antacids and alginates "will not cure the problem and should not be taken regularly for long periods." Heartburn 2 or more days a week is considered frequent and may be GERD; if you find yourself needing OTC acid reducers most days, exceeding a label's duration limit, or getting no relief, that is the signal to see a clinician rather than self-medicate indefinitely.
Neutralizes acid already in the stomach, so relief is fast — often within minutes. Best for an episode you already feel or feel coming on.
MedlinePlus calls antacids "a good treatment for heartburn that occurs once in a while" and advises taking them "about 1 hour after eating or when you have heartburn." The FDA Tums (calcium carbonate) Drug Facts label indicates it for "heartburn, acid indigestion, sour stomach, upset stomach associated with these symptoms."
Caution: Symptom relief only — does not reduce acid production or heal the esophagus, and relief is short-lived. Magnesium products can cause diarrhea; calcium/aluminum ones constipation. The Tums label says do not use the maximum dosage more than 2 weeks except under a doctor's supervision, and MedlinePlus says contact your provider if you need antacids on most days. Ask a pharmacist first if you have kidney disease, heart disease, high blood pressure, are on a low-sodium diet, or have had kidney stones. Antacids can block absorption of other drugs — MedlinePlus advises taking other medicines 1 hour before or 24 hours after antacids.
After eating, forms a floating gel 'raft' that sits on top of stomach contents as a physical barrier, so acid is less likely to reflux up into the esophagus.
The NHS lists alginates alongside antacids as pharmacist-recommended options and advises taking them "with food or soon after eating, as this is when you're most likely to get heartburn."
Caution: Short-term symptom relief for post-meal reflux, not a treatment for underlying GERD. The NHS is explicit that antacids and alginates "will not cure the problem and should not be taken regularly for long periods." If you need them most days, see a clinician.
Reduces how much acid the stomach makes. Slower than an antacid but longer-lasting, and can be taken ahead of a known trigger meal to prevent heartburn.
The FDA Pepcid AC (famotidine 20 mg) Drug Facts label says it "relieves heartburn associated with acid indigestion and sour stomach" and "prevents heartburn... brought on by eating or drinking certain food and beverages"; for prevention, take "at any time from 10 to 60 minutes before eating."
Caution: Label says do not use more than 2 tablets in 24 hours, and stop use and ask a doctor if heartburn continues or worsens or you need it more than 14 days. Do not use with trouble swallowing, vomiting blood, or bloody/black stools. Ask a doctor first if you have had heartburn over 3 months ("may be a sign of a more serious condition") or any cardiac-type symptoms (chest/shoulder pain, shortness of breath, sweating, pain spreading to arms/neck/shoulders, lightheadedness). Not for long-term daily self-use.
Blocks acid production more completely and for longer than the other OTC options — the one OTC class specifically labeled for FREQUENT heartburn.
The FDA Prilosec OTC (omeprazole) Drug Facts label states it "treats frequent heartburn (occurs 2 or more days a week)" but is "not intended for immediate relief of heartburn; this drug may take 1 to 4 days for full effect." Take one tablet each morning for a 14-day course; "do not use for more than 14 days unless directed by your doctor," and you "may repeat a 14-day course every 4 months."
Caution: Wrong tool for a single episode tonight (use an antacid for that) — it takes days to work and is for a pattern of frequent heartburn. The label says to stop and ask a doctor if heartburn continues or worsens, if you need it more than 14 days, or if you need more than 1 course every 4 months — needing repeat courses may signal GERD warranting proper evaluation. Do not use with trouble/pain swallowing, vomiting blood, bloody/black stools, heartburn with lightheadedness/sweating/dizziness, or chest/shoulder pain with shortness of breath.
For occasional heartburn, OTC treatment is the right first-line choice, matched to the situation: an antacid or alginate for fast, short relief of an episode you already feel; famotidine (an H2 blocker) for longer relief or to head off a known trigger meal; and an omeprazole PPI 14-day course when heartburn is frequent (2+ days a week) — the one OTC option actually labeled and effective for that pattern, respecting the 14-day, once-every-4-months limits. None of these cures reflux; antacids and alginates in particular only soothe symptoms and won't heal the esophagus. The moment heartburn becomes frequent, persistent, requires continuous OTC use, or arrives with any red-flag symptom — trouble swallowing, weight loss, black or bloody stools, or chest pressure that could be your heart — the honest answer is to stop self-treating and see a clinician.
General information, not medical advice, and not a substitute for your clinician or pharmacist. Follow the label on any OTC product, mind interactions with your other medicines, and seek care for any red-flag symptom.