How to Stop Severe Stomach Pain and When to See a Doctor

Severe stomach pain that hits suddenly or won’t let up needs attention right away, and your first step depends on what’s causing it. Some causes respond to simple home measures like heat, hydration, and the right over-the-counter medication. Others are medical emergencies. Knowing the difference can save your life.

Rule Out an Emergency First

Before trying any home remedy, check whether your pain comes with any of these warning signs:

  • Pain so intense you can’t move, eat, or drink
  • Sudden onset of severe pain that came out of nowhere
  • High fever
  • Blood in your stool or vomit
  • Recent abdominal trauma from an accident or injury

Any of these warrant an emergency room visit, not urgent care. Heart attacks can also disguise themselves as severe nausea or pain in the upper abdomen just under the rib cage. If you have any doubt about what’s happening, go to the ER.

Where It Hurts Points to Why It Hurts

The location of your pain narrows down the likely cause, which determines the right treatment. Pain in the upper right side often involves the gallbladder or liver. Pain in the upper center (just below your breastbone) typically points to acid reflux, gastritis, stomach ulcers, or inflammation of the pancreas. Upper left pain can also signal stomach issues or, less commonly, a problem with the spleen.

Pain around your belly button is common with ulcers, early appendicitis, or a small bowel obstruction. Lower right pain is the classic location for appendicitis. Lower left pain frequently comes from diverticulitis or inflammatory bowel disease. Pain on either side of the mid-back that wraps forward often means kidney stones or a kidney infection.

Pain that spreads across both sides of the upper abdomen can sometimes have a cardiac or lung cause, like a heart attack or pneumonia. Sudden, intense pain in the upper-center-to-belly-button area could indicate a ruptured blood vessel, which is a life-threatening emergency.

Immediate Steps for Pain Relief at Home

If your pain is significant but doesn’t include the red flags above, a few strategies can help while you figure out next steps.

Apply Heat

A heating pad or hot water bottle placed on the painful area is one of the most effective non-drug options. Research from University College London found that heat above 40°C (about 104°F) activates heat receptors in the skin that can block pain signals from internal organs for up to an hour. This works especially well for cramping pain from gas, menstrual cramps, or digestive spasms. Wrap the heating pad in a thin towel and apply it in 15- to 20-minute intervals to avoid skin burns.

Choose the Right OTC Medication

The medication that helps depends entirely on the type of pain:

  • Gas and bloating: Simethicone breaks up gas bubbles and works within minutes.
  • Heartburn or acid pain: An antacid neutralizes stomach acid quickly. H2 blockers (like famotidine) take a bit longer but last several hours. Proton pump inhibitors (like omeprazole) take several days to reach full effect, so they’re not your best choice for immediate relief.
  • Constipation cramping: A mild stool softener can get things moving without making cramping worse.

One critical rule: avoid anti-inflammatory painkillers like ibuprofen, aspirin, or naproxen. These irritate the stomach lining and can make the problem significantly worse, especially if your pain involves an ulcer or gastritis. Acetaminophen is a safer choice for pain relief that won’t aggravate your gut.

Stay Hydrated the Right Way

If your pain comes with vomiting or diarrhea, dehydration becomes a serious secondary threat. The key is to drink small amounts frequently rather than gulping large volumes, which can trigger more vomiting. Start with just a few sips every minute, then gradually increase as your stomach tolerates it. An oral rehydration solution or a drink with electrolytes works better than plain water because your body also loses sodium and potassium through vomiting and diarrhea. Sports drinks are an acceptable substitute in a pinch, though they contain more sugar and less sodium than ideal.

For every episode of vomiting or loose stool, you need to replace what you lost. A rough guide: about 10 mL per kilogram of body weight for each watery stool. For a 70 kg (154 lb) adult, that’s roughly 700 mL (about 3 cups) per episode of diarrhea, in addition to your normal fluid intake.

What to Eat (and What to Skip)

The traditional BRAT diet (bananas, rice, applesauce, toast) is a reasonable starting point for a day or two, but you don’t need to limit yourself to just those four foods. Brothy soups, oatmeal, boiled potatoes, crackers, and plain dry cereal are all easy on the stomach and provide more nutritional variety.

Once the worst has passed, start adding cooked squash, carrots, sweet potatoes without skin, avocado, skinless chicken or turkey, fish, and eggs. These foods are gentle enough for a recovering gut while providing the protein and nutrients your body needs to bounce back.

Foods to strictly avoid while you’re in pain or recovering:

  • Alcohol, coffee, tea, and sodas
  • Dairy products including milk, yogurt, cheese, and ice cream
  • Sugary foods like candy, cake, and cookies
  • Fried or greasy foods
  • Acidic foods like citrus, tomato sauce, and vinegar-based dressings
  • Spicy foods
  • High-fiber raw foods like leafy greens, fruit skins, popcorn, nuts, seeds, and beans

Common Causes That Need Medical Treatment

Many causes of severe stomach pain won’t resolve with home care. Appendicitis typically starts as dull pain around the belly button that migrates to the lower right abdomen over 12 to 24 hours, becoming sharp and constant. If pressing on the lower right side of your abdomen (roughly a third of the way from your hip bone to your belly button) produces intense tenderness, that’s a strong signal to get to an ER.

Gallbladder attacks cause severe pain in the upper right abdomen, often after a fatty meal, and can last hours. Kidney stones produce waves of excruciating pain in the side or back that radiates toward the groin. Pancreatitis causes steady, boring pain in the upper abdomen that often radiates to the back and gets worse after eating. Peptic ulcers can cause burning or gnawing pain in the upper center of the abdomen, and if an ulcer perforates (creates a hole in the stomach or intestinal wall), the pain becomes sudden and catastrophic.

All of these conditions require professional diagnosis, usually with imaging or blood tests, and many require specific medical or surgical treatment that no home remedy can replace.

When Home Care Is Enough

Stomach pain from gas, mild food poisoning, a stomach bug, or stress-related cramping will usually resolve within a few hours to a couple of days with the measures above. The general pattern for self-treatable pain is that it comes in waves, responds at least partially to heat or OTC medication, and gradually improves rather than worsens.

Pain that steadily escalates over hours, localizes to one specific spot, or keeps you from sleeping is telling you something different. Pain that persists beyond 48 hours without improvement, even if it’s not severe enough to feel like an emergency, is worth a visit to your doctor or urgent care. Mild stomach pain that keeps coming back over weeks or months also warrants investigation, as conditions like ulcers, gallstones, and inflammatory bowel disease are highly treatable once identified.