Most stomach pain resolves with simple measures you can start at home: applying heat, adjusting what you eat, and choosing the right over-the-counter remedy for your specific type of discomfort. The key is matching the relief method to the cause, because what works for acid-related burning won’t help with gas cramps, and vice versa.
Heat: The Fastest Free Option
A heating pad or hot water bottle placed on your abdomen is one of the most effective things you can try first. Heat above 40°C (104°F) activates receptors in your skin that physically block pain signals from your internal organs. Research from University College London found that these heat receptors shut down the chemical messengers responsible for sensing pain from damaged or distressed tissue in hollow organs like the bowel. This is why a warm compress works so well for cramping, bloating, and menstrual-related stomach pain.
Place the heat source over the area that hurts, with a thin layer of fabric between it and your skin, for 15 to 20 minutes at a time. You can repeat this as often as needed.
Matching OTC Remedies to Your Symptoms
For Burning or Acid-Related Pain
If your pain feels like burning in your upper abdomen or chest, especially after eating, the problem is likely excess stomach acid. Three types of over-the-counter medications address this, and they work on very different timelines. Antacids (like calcium carbonate chewables) neutralize acid that’s already in your stomach, so they work within minutes but wear off relatively quickly. H2 blockers take about an hour to kick in, but their effects last 4 to 10 hours. Proton pump inhibitors are the slowest option, taking one to four days for full effect, but they provide the longest-lasting relief. For immediate discomfort, start with an antacid. If the problem keeps recurring, an H2 blocker or proton pump inhibitor makes more sense.
For Gas and Bloating
Trapped gas causes sharp, shifting pains that can feel alarmingly intense. Products containing simethicone work by breaking up gas bubbles in your digestive tract so they’re easier to pass. These are taken after meals and at bedtime. Gentle movement also helps: a short walk or lying on your left side can encourage gas to move through your system.
For General Nausea and Upset Stomach
Bismuth subsalicylate (the active ingredient in Pepto-Bismol) has both antimicrobial and anti-inflammatory properties, making it useful for nausea, indigestion, and mild diarrhea. One important caution: it contains a compound related to aspirin. If you’re allergic to aspirin, avoid it entirely. It should also never be given to children or teenagers recovering from the flu or chickenpox because of the risk of Reye syndrome, a rare but serious condition.
Peppermint Oil for Cramping
Peppermint oil relaxes the smooth muscle in your digestive tract by interfering with the calcium signals that cause muscles to contract. In clinical trials involving people with irritable bowel syndrome, 79% of those who took peppermint oil experienced reduced abdominal pain severity, compared to 43% who took a placebo. Look for enteric-coated capsules, which dissolve in your intestines rather than your stomach. This matters because peppermint oil released in the stomach can actually worsen heartburn.
What to Eat (and Avoid) When Your Stomach Hurts
The old advice to stick strictly to bananas, rice, applesauce, and toast (the BRAT diet) is outdated. Those foods are fine for the first day or two of a stomach illness, but there’s no reason to limit yourself to just those four items. Brothy soups, oatmeal, boiled potatoes, crackers, and unsweetened dry cereal are equally gentle on the digestive system.
Once the worst has passed, typically after 24 to 48 hours, start adding foods with more nutritional value: cooked squash, carrots, sweet potatoes without the skin, avocado, skinless chicken or turkey, fish, and eggs. These are all bland and easy to digest but provide the protein and nutrients your body needs to recover. During the worst of it, the priority is staying hydrated. Small, frequent sips of water, diluted broth, or an oral rehydration solution work better than drinking large amounts at once, which can trigger more nausea.
While you’re in pain, avoid caffeine, alcohol, spicy foods, fatty or fried foods, and dairy. These all either increase acid production, irritate your stomach lining, or slow digestion.
Where It Hurts Can Tell You Why
The location of your pain narrows down the list of possible causes, because different organs occupy different areas of your abdomen.
- Upper right side: This is where your gallbladder and liver sit. Pain here, especially after fatty meals, can point to gallbladder inflammation. It sometimes radiates to your right shoulder blade.
- Upper left side: Your spleen and part of your pancreas are here. Pain that worsens after eating in this area can suggest pancreatic irritation or gastritis (stomach lining inflammation), which often refers to the back.
- Lower right side: Appendicitis classically settles here, though it often starts as vague pain around the belly button before migrating. Reproductive organ issues can also cause pain in this quadrant.
- Lower left side: Diverticulitis (inflamed pouches in the colon wall) typically causes pain here. Kidney stones often land in one of the lower quadrants as they move through the urinary tract.
- All over: Generalized pain is more common with gas, stomach viruses, food poisoning, or irritable bowel syndrome.
Pain that stays in one spot and steadily worsens is more concerning than pain that moves around or comes and goes.
Other Simple Measures That Help
Positioning matters more than people realize. Lying on your left side helps your stomach empty more naturally because of the way the organ curves. If acid reflux is part of the problem, propping your upper body up at a 30-degree angle (using a wedge pillow, not just extra pillows under your head) keeps acid from flowing upward.
Deep, slow breathing directly calms the nervous system signals that amplify gut pain. Try breathing in for four counts, holding for four, and exhaling for six. This activates your body’s rest-and-digest response, which reduces intestinal spasms. Ginger, taken as tea or in small crystallized pieces, has well-established anti-nausea effects and can ease mild cramping.
Pain That Needs Immediate Attention
Most stomach pain is temporary and harmless. But certain patterns signal something that requires emergency care. The American College of Emergency Physicians advises seeking immediate help if your pain is sudden and severe, or if it doesn’t ease within 30 minutes. Continuous, severe abdominal pain paired with nonstop vomiting can indicate a serious or life-threatening condition.
Specific warning signs to watch for:
- Appendicitis: Severe pain (often starting near the belly button, then moving to the lower right abdomen), loss of appetite, nausea, vomiting, or fever.
- Pancreatitis: Pain in the middle upper abdomen that lasts for days, worsens after eating, and comes with nausea, a swollen tender belly, fever, or rapid pulse.
- Ectopic pregnancy: Severe abdominal pain combined with vaginal bleeding in someone who could be pregnant.
Blood in your vomit or stool, a rigid abdomen that’s painful to touch, or pain accompanied by high fever all warrant a trip to the emergency room rather than waiting it out at home.