How to Get Rid of a Hurting Stomach Fast

Most stomach pain responds well to simple at-home measures: heat, hydration, careful eating, and the right over-the-counter remedy for your specific type of discomfort. The key is matching your approach to what’s actually causing the pain, since a gassy, bloated stomach needs a different fix than one churning with acid or cramping from a stomach bug.

Figure Out What Kind of Pain You Have

Before reaching for a remedy, spend a moment noticing where the pain is and how it feels. A burning sensation in your upper middle abdomen or chest usually points to excess stomach acid, heartburn, or gastritis. Cramping and bloating with pressure that shifts around often means trapped gas. Watery, all-over discomfort paired with nausea or diarrhea suggests a stomach bug or something you ate. Sharp, localized pain that stays in one spot can signal something more specific.

Location matters more than most people realize. Pain in the upper right side of your abdomen is commonly linked to gallbladder problems. Upper left pain is more typical of acid reflux or stomach lining irritation. Lower right pain that started near your belly button and migrated downward is the classic pattern for appendicitis. Lower left pain may point to diverticulitis or inflammatory bowel issues. None of this replaces a proper diagnosis, but it helps you decide whether you’re dealing with something you can handle at home or something that needs professional attention.

Try Heat First

A heating pad or warm water bottle placed on your abdomen is one of the simplest and most effective first steps. Heat expands blood vessels in the area, increasing circulation and delivering more nutrients to the tissue. This relaxes tense or spasming muscles, which is often what’s generating the pain signal in the first place. It works especially well for cramping, menstrual pain, and the tight, achy discomfort that comes with gas and bloating.

Use a medium setting and keep it on for 15 to 20 minutes at a time. A thin layer of fabric between the heat source and your skin prevents burns. You can repeat every hour or so as needed.

Settle Acid and Heartburn

If your pain feels like burning in your upper stomach or chest, stomach acid is the likely culprit. You have three main categories of over-the-counter options, and they work differently.

Antacids (like Tums or Rolaids) neutralize acid that’s already in your stomach. They work within minutes but wear off relatively quickly, making them best for occasional, mild flare-ups. H2 blockers (like famotidine, sold as Pepcid) reduce acid production and kick in within one to three hours. They’re a good choice for occasional heartburn that hits a couple of times a week or less. Proton pump inhibitors, or PPIs (like omeprazole, sold as Prilosec), block acid production more aggressively but can take up to four days to reach full effect. PPIs are designed for frequent, severe heartburn or known conditions like ulcers or esophagitis, not for one-off stomachaches.

For a stomachache you’re dealing with right now, an antacid gives the fastest relief. If heartburn keeps coming back, an H2 blocker taken before meals is the better ongoing strategy.

Relieve Gas and Bloating

Trapped gas can produce surprisingly intense pain, sometimes sharp enough that people mistake it for something serious. The go-to remedy is simethicone (sold as Gas-X or Mylanta Gas). It works by reducing the surface tension of gas bubbles in your stomach and intestines, causing small bubbles to merge into larger ones your body can expel more easily. It isn’t absorbed into your bloodstream, so side effects are minimal.

Beyond medication, gentle movement helps. A slow walk encourages gas to move through your digestive tract. Lying on your left side can also help, since it positions your stomach in a way that makes it easier for trapped air to escape. Avoid carbonated drinks, chewing gum, and drinking through straws until the bloating passes, as all of these introduce extra air into your system.

Handle Nausea and Upset From a Stomach Bug

Viral gastroenteritis, the classic “stomach flu,” typically brings nausea, vomiting, diarrhea, and general abdominal misery. The pain itself usually resolves as the infection runs its course, but the real danger is dehydration from fluid loss.

If vomiting is active, sip small amounts of clear liquids rather than gulping a full glass. Water, broth, diluted fruit juice, and sports drinks all help replace fluids and electrolytes. Saltine crackers can also replenish sodium. For children, oral rehydration solutions like Pedialyte are more effective than water alone because they contain a precise balance of glucose and electrolytes. Infants should continue breast milk or formula as usual.

Bismuth subsalicylate (the active ingredient in Pepto-Bismol) can help with nausea and diarrhea in adults, but it comes with important safety limits. Do not give it to children under 12, and never use it for nausea or vomiting in children or teenagers who have or are recovering from the flu or chickenpox, as it carries a risk of Reye’s syndrome. If you’re already taking aspirin or any other salicylate-containing medication, skip it entirely, because stacking salicylates can lead to overdose. It’s also not safe during breastfeeding.

Eat Carefully While Recovering

The old advice to stick strictly to bananas, rice, applesauce, and toast (the BRAT diet) is no longer the standard recommendation. While those foods are gentle and unlikely to make things worse, limiting yourself to only them can leave you short on the nutrients your body needs to recover. A better approach is to eat bland, easy-to-digest foods in small portions and expand your diet as your stomach tolerates it. Plain rice, toast, broth-based soups, boiled potatoes, and plain chicken are all reasonable choices.

What you avoid matters as much as what you eat. Fatty, greasy, or heavily spiced foods stimulate more acid and digestive activity, which can ramp pain back up. Dairy can be hard to process during a stomach illness. Caffeine and alcohol both irritate the stomach lining and promote dehydration. Stick with small, frequent meals rather than large ones until you’re feeling consistently better.

Peppermint Oil for Cramping

Peppermint oil works as a natural antispasmodic by blocking calcium from entering the smooth muscle cells in your digestive tract. Less calcium means less contraction, which translates to less cramping. It’s particularly well studied for irritable bowel syndrome but can help with general intestinal spasms too.

The important detail is to use enteric-coated capsules rather than drinking peppermint oil or tea. Enteric coating ensures the oil releases in the small intestine instead of the stomach. Without that coating, peppermint oil relaxes the valve between your esophagus and stomach, which can actually trigger heartburn and make acid-related pain worse. If your stomach pain is from acid reflux, peppermint is not your friend.

When Stomach Pain Is an Emergency

Most stomach pain is uncomfortable but not dangerous. Certain patterns, however, warrant immediate medical attention. Take the pain seriously if:

  • The pain is severe enough to stop you from functioning normally
  • You can’t keep any liquids down despite repeated attempts to sip slowly
  • Pain started near your belly button and moved to your lower right side, especially if it worsens when you move, cough, or take deep breaths (the classic appendicitis pattern)
  • You have severe upper abdominal pain with nausea, fever, and a rapid pulse, which may indicate acute pancreatitis
  • You’re unable to pass gas or have a bowel movement alongside significant pain, which can suggest a bowel obstruction
  • The pain resembles something you’ve experienced before but feels different this time, more severe, or accompanied by new symptoms

Fever, visible abdominal swelling, and bloody stool or vomit are also signals that something beyond a routine stomachache is happening. Prior abdominal surgery raises the risk of adhesions and obstructions, so people with a surgical history should have a lower threshold for seeking care when pain is new or unusual.