What you should take for stomach pain depends entirely on what’s causing it. A burning sensation behind your breastbone calls for a different remedy than cramping lower in your abdomen or waves of nausea. Choosing the wrong option can actually make things worse, so identifying the type of pain you’re dealing with is the first step toward relief.
Burning Pain and Acid Reflux
If your stomach pain feels like a burning sensation in your upper abdomen or chest, especially after eating, you’re likely dealing with excess stomach acid. Three types of over-the-counter medications target this problem, each working differently.
Antacids containing calcium carbonate (like Tums) neutralize acid that’s already in your stomach. They work within minutes and are best for occasional, mild heartburn. The relief tends to be short-lived, so they’re a quick fix rather than a long-term solution.
H2 blockers like famotidine (Pepcid) reduce acid production by blocking one of the chemical signals that tells your stomach to make acid. They have a quick onset of action and can be taken as needed, making them a good middle-ground option for heartburn that flares up a few times a week.
Proton pump inhibitors, or PPIs, like omeprazole (Prilosec) are the most powerful acid reducers available without a prescription. They permanently shut down the acid-producing pumps in your stomach lining. But here’s the key detail most people miss: PPIs need to be taken daily for four to eight weeks to fully work, because not all the acid-producing cells in your stomach are active at the same time. Taking them sporadically won’t give you reliable relief. Current gastroenterology guidelines recommend trying to stop PPIs once your symptoms resolve, unless you have significant damage to your esophagus.
Gas, Bloating, and Pressure
That uncomfortable fullness, pressure, or sharp pains that shift around your abdomen often comes from trapped gas. Simethicone (sold as Gas-X or Mylanta Gas) is the standard remedy. It works by merging small gas bubbles in your gut into larger ones, making it easier for your body to pass the air naturally. It won’t prevent gas from forming, but it can relieve the discomfort once it’s there.
For bloating that’s more chronic, especially if it comes with alternating constipation and diarrhea, you may be dealing with irritable bowel syndrome. Enteric-coated peppermint oil capsules have solid evidence behind them for this. A review of 10 studies with over 1,000 participants found that peppermint oil reduced abdominal pain and improved overall IBS symptoms compared to placebo. The American College of Gastroenterology recommends it for IBS symptom relief. The enteric coating matters: without it, peppermint oil can dissolve in your stomach and actually cause heartburn or nausea.
Cramping and Spasms
Stomach pain that comes in waves, with your abdomen tightening and then releasing, usually involves muscle spasms in your intestines. In the U.S., peppermint oil capsules are the only over-the-counter antispasmodic available. They work directly on the muscles in your digestive tract to reduce involuntary contractions. Chamomile tea offers a milder version of the same effect and may help calm intestinal or menstrual cramps.
If cramping is severe or keeps coming back, prescription antispasmodic medications like dicyclomine or hyoscyamine are options your doctor can prescribe. These are commonly used for IBS, colon spasms, gallbladder pain, and functional dyspepsia (a catch-all term for recurring upper abdominal pain with no clear structural cause).
Nausea and Diarrhea
Bismuth subsalicylate (Pepto-Bismol) is the go-to for the combination of nausea, upset stomach, and loose stools you get with food-related illness or traveler’s diarrhea. It coats and soothes the stomach lining while also having mild antimicrobial effects in the gut.
For diarrhea without significant nausea, loperamide (Imodium) slows down intestinal movement so your body absorbs more water from stool. It’s effective but should be used carefully. Don’t exceed the recommended dose, and avoid it if you have a fever or bloody stools, as these may signal an infection your body needs to clear.
Ginger, whether as tea, chews, or capsules, is one of the better-studied natural options for nausea specifically. It’s commonly recommended for motion sickness and pregnancy-related nausea, and it can help settle a generally queasy stomach.
What Not to Take
If your stomach already hurts, reaching for ibuprofen (Advil), naproxen (Aleve), or aspirin is one of the worst things you can do. These medications irritate the stomach lining directly and can cause ulcers, which are small erosions in the tissue. In severe cases, those erosions can lead to internal bleeding or even perforation, a hole in the stomach wall. These complications can happen at any time during use and without warning symptoms. Combining any of these drugs with aspirin increases the risk further. Older adults and anyone with a history of stomach ulcers are especially vulnerable.
Acetaminophen (Tylenol) is gentler on the stomach but won’t help with most causes of abdominal pain since it doesn’t reduce inflammation in the gut or address acid, gas, or cramping.
Stomach Pain in Children
Children under 12 need a more cautious approach. Don’t give aspirin, ibuprofen, or acetaminophen for stomach pain without checking with your child’s doctor first. Many adult stomach remedies aren’t approved for young children, and the causes of stomach pain in kids, from constipation to anxiety to appendicitis, often differ from adults. A warm compress on the belly and small sips of clear fluids are safe first steps while you figure out what’s going on.
When Stomach Pain Needs Emergency Care
Most stomach pain resolves on its own or with the right over-the-counter remedy. But certain patterns signal something more serious. The American College of Emergency Physicians recommends seeking emergency care if your pain is sudden and severe, doesn’t ease within 30 minutes, or comes with continuous vomiting.
Pay attention to location. Severe pain in the lower right abdomen, especially with loss of appetite, nausea, or fever, may be appendicitis. Pain in the middle upper abdomen that lasts for days and worsens after eating could indicate pancreatitis. In women of reproductive age, severe abdominal pain with vaginal bleeding can signal an ectopic pregnancy, which requires immediate treatment. Any stomach pain with blood in your stool, black or tarry stools, or a high fever needs medical evaluation rather than an over-the-counter remedy.