What to Do When Your Stomach Hurts and When to Worry

Most stomach pain is temporary and responds well to simple home care: applying heat, sipping fluids, adjusting what you eat, and giving your body time to settle. The right approach depends on what’s causing the pain, where you feel it, and how severe it is. Here’s how to work through it.

Start With Where It Hurts

The location of your pain is a useful clue. Your upper left abdomen houses your stomach and spleen, so pain there often points to indigestion, gastritis, or acid-related irritation. Upper right pain is more commonly linked to your gallbladder or liver. Lower right pain that started near your belly button and migrated downward could signal appendicitis, especially if it’s getting worse over hours. Lower left pain is often related to your colon and can indicate constipation or, in older adults, inflammation of small pouches in the intestinal wall.

Pain that’s vague and moves around, or that you feel across your whole abdomen, is more likely gas, a stomach bug, or general indigestion. Pain that stays fixed in one spot and intensifies is worth paying closer attention to.

Quick Relief for Common Stomach Pain

Apply Heat

A heating pad or warm water bottle placed on your abdomen relaxes the muscles underneath and can ease cramping, bloating, and general discomfort. Keep it on for 15 to 20 minutes at a time with a cloth layer between the heat source and your skin. This works well for menstrual cramps, gas pain, and stress-related stomach tension.

Try Gentle Movement

If trapped gas is the problem, certain positions help your body release it. Lying on your back and pulling both knees to your chest (the knee-to-chest pose) puts gentle pressure on your abdomen and encourages gas to move. Child’s pose, where you kneel and lean forward with your forehead on the floor and arms stretched out, does something similar. Even a short walk can help by relaxing the muscles around your hips and lower back and keeping things moving through your digestive tract.

A lying twist is another good option: lie flat on your back with your arms out to the sides, bend your knees with feet flat on the floor, then lower both knees gently to one side until you feel a mild stretch in your lower back. Hold for a moment, then switch sides.

Sip, Don’t Gulp

If you’re dealing with nausea, vomiting, or diarrhea, replacing lost fluids is critical. Small, frequent sips work better than drinking a full glass at once. After each bout of diarrhea, aim for about 100 to 240 mL (roughly half a cup to a cup) of fluid. Water is fine, but if vomiting or diarrhea has been going on for a while, you need to replace salt and sugar too.

You can make a simple rehydration drink at home: mix 12 ounces of unsweetened orange juice with 20 ounces of cooled boiled water and half a teaspoon of salt. Commercial rehydration solutions work the same way. Avoid caffeinated drinks and alcohol, which can irritate your stomach further and pull water out of your system.

Peppermint for Cramping

Peppermint oil has a real physiological effect on stomach and intestinal pain. The menthol in peppermint relaxes the smooth muscle in your gut by blocking calcium channels, which reduces the spasms that cause cramping. Peppermint tea is a milder option, but enteric-coated peppermint oil capsules deliver a more concentrated dose directly to your intestines. This is particularly well studied for people with irritable bowel syndrome, but the muscle-relaxing effect can help with general cramping too.

What to Eat (and Avoid) When Your Stomach Hurts

While your stomach is recovering, stick to bland, easy-to-digest foods. Good options include bananas, applesauce, plain white rice, toast made with refined flour, broth-based soups, boiled potatoes, eggs, and weak tea. Lean proteins like baked chicken or steamed whitefish are fine if you feel ready for something more substantial. Gelatin, crackers, and creamy peanut butter are also gentle choices.

Avoid anything that forces your digestive system to work hard. That means skipping fried or greasy foods, raw vegetables, whole grains, nuts and seeds, spicy seasonings, and high-sugar foods. Broccoli, cabbage, and cauliflower are notorious for producing gas and can make bloating worse. Fermented foods like sauerkraut and pickles can also irritate an already upset stomach. Caffeine and alcohol should wait until you’re feeling better.

One thing people often overlook: common pain relievers like ibuprofen, aspirin, and naproxen can irritate your stomach lining and make the pain worse. If you need pain relief, acetaminophen is generally easier on your stomach.

Over-the-Counter Options

Different types of stomach pain call for different products. Antacids neutralize stomach acid and work quickly for heartburn or acid-related upper stomach pain. Bismuth subsalicylate (the active ingredient in products like Pepto-Bismol) helps with nausea, indigestion, and diarrhea. For adults, the typical dose is 2 tablespoons (30 mL) every hour as needed, with a maximum of 4 doses (120 mL) in 24 hours. Don’t use it for more than 2 days for diarrhea. Children under 12 should not take it without a doctor’s guidance.

If bloating and pressure from gas are the main issue, simethicone (found in Gas-X and similar products) helps break up gas bubbles so they’re easier to pass. For diarrhea specifically, anti-diarrheal products can slow things down, but if you have a fever or bloody stool, hold off on those and seek medical attention instead.

When the Pain Could Be Something Serious

Most stomach pain resolves on its own, but certain patterns require urgent attention. Get to an emergency room if you experience:

  • Pain that started near your belly button and moved to your lower right side, especially if it’s worsening over hours, gets sharper when you move, cough, or press on the area, and comes with fever, nausea, or loss of appetite. This pattern is classic for appendicitis.
  • Severe pain with vomiting so intense you can’t keep any liquids down.
  • Complete inability to pass gas or have a bowel movement combined with bloating and pain, particularly if you’ve had abdominal surgery in the past. This can indicate a bowel obstruction.
  • Upper abdominal pain that worsens after eating and comes with nausea, fever, and a rapid pulse, which can point to acute pancreatitis.
  • Abdominal pain that resembles a past episode but is noticeably different, more severe, or accompanied by new symptoms.

Gas Pain vs. Appendicitis

This is one of the most common sources of anxiety when your stomach hurts, and the distinction matters. Gas pain tends to move around, often feels like something is shifting through your intestines, and resolves quickly once you pass gas. It can be surprisingly sharp, but it comes and goes.

Appendicitis follows a specific trajectory. It typically starts as a dull, vague ache around the belly button, then within hours migrates to the lower right abdomen, where it becomes constant and severe. The pain gets worse when you move, cough, sneeze, or take deep breaths. Pressing on the lower right side and then quickly releasing (rebound tenderness) causes a sharp spike of pain. You may also notice pain when extending your right leg or hip. If this pattern matches what you’re feeling, don’t wait to see if it improves.

Ongoing Stomach Problems

If stomach pain keeps coming back, two common culprits are gastritis and peptic ulcers. Gastritis is inflammation of the stomach lining. It often produces no symptoms at all, but when it does, you’ll typically feel a vague discomfort or burning in your upper abdomen, sometimes with nausea. It can be caused by overuse of anti-inflammatory pain relievers, heavy alcohol use, or a bacterial infection.

Peptic ulcers are actual sores that have eroded through the stomach lining. They tend to cause more localized, burning pain that often worsens on an empty stomach and improves temporarily after eating. Both conditions share overlapping symptoms, and both are treatable once properly diagnosed. If your stomach pain has been recurring for weeks, especially if it follows a pattern related to meals, it’s worth getting evaluated rather than continuing to manage it at home.