Most stomach aches resolve on their own within a few hours, and simple steps like applying heat, sipping fluids, and choosing the right over-the-counter remedy can speed that process along. The best approach depends on what’s causing your discomfort, whether it’s gas, acid, nausea, or cramps from something you ate.
Apply Heat to Your Abdomen
A heating pad or hot water bottle placed on your stomach is one of the fastest, simplest ways to ease cramping and general abdominal pain. This isn’t just a comfort trick. Research from University College London found that heat above 40°C (104°F) activates heat receptors in the skin that physically block pain receptors in the tissue underneath. The heat receptor essentially shuts down the chemical messenger system that tells your brain something hurts, working at a molecular level similar to the way painkillers do.
This is especially effective for crampy, spasm-type pain like the kind caused by gas, menstrual cramps, or an upset stomach after eating. The limitation is that relief is temporary, so you may need to keep the heat applied for 15 to 20 minutes at a time, with breaks to avoid skin irritation.
Choose the Right Over-the-Counter Remedy
Not every stomach medicine treats the same problem, and picking the wrong one means waiting around for relief that won’t come. Here’s how to match your symptom to the right option:
- Burning or acid-related pain: Antacids (like Tums or Rolaids) neutralize stomach acid and work within minutes. They’re your fastest option for heartburn or that sour, burning feeling in your upper stomach.
- Acid that keeps coming back: H2 blockers (like famotidine) reduce acid production and take about an hour to kick in, but the relief lasts 4 to 10 hours. If you know a meal is going to bother you, taking one 30 to 60 minutes beforehand can prevent the problem entirely.
- Gas and bloating: Simethicone (found in Gas-X) works by merging small gas bubbles in your gut into larger ones that are easier to pass. It typically starts working within 30 minutes.
- Nausea or diarrhea: Bismuth subsalicylate (Pepto-Bismol) coats the stomach lining and can help with nausea, indigestion, and loose stools. Don’t give it to children under 12, and avoid it for kids or teens with flu or chickenpox symptoms due to the risk of a rare but serious condition called Reye’s syndrome.
If you’re dealing with chronic acid reflux rather than a one-off stomach ache, proton pump inhibitors are stronger acid blockers, but they take one to four days to reach full effect. They’re not the right choice for quick relief.
Sip the Right Fluids
When your stomach is upset, small sips work better than big gulps. Room-temperature water, clear broth, or diluted ginger tea are gentle choices that keep you hydrated without adding irritation. Cold or carbonated drinks can sometimes make nausea or bloating worse.
Ginger has a long track record for easing nausea. A simple approach is steeping a few slices of fresh ginger root in hot water for five to ten minutes. Peppermint tea is another option, particularly if your pain feels like cramping or pressure. A 2022 review of 10 studies with over 1,000 participants found that peppermint oil reduced abdominal pain better than placebo, likely because it relaxes the smooth muscle in the digestive tract. Peppermint tea is milder than concentrated oil capsules but can still help with mild discomfort.
Avoid alcohol, coffee, and acidic juices like orange juice until your stomach settles. All three can increase acid production or irritate an already sensitive stomach lining.
What to Eat (and What to Skip)
You’ve probably heard of the BRAT diet: bananas, rice, applesauce, and toast. It’s fine for a day or two if you’re dealing with a stomach bug or food poisoning, but Harvard Health notes there’s no research showing it works better than other bland foods. A less restrictive approach actually makes more sense because it gives your body the protein and nutrients it needs to recover.
Good options while your stomach is still sensitive include brothy soups, oatmeal, boiled potatoes, crackers, and plain dry cereal. Once things start settling down, you can add cooked carrots, sweet potatoes (without skin), avocado, skinless chicken or turkey, fish, and eggs. These are all easy to digest but more nutritionally complete than plain toast.
The foods to avoid until you feel better: anything greasy, fried, or heavily spiced. Dairy can also be a problem during digestive upset because your gut’s ability to break down lactose may be temporarily reduced. High-fiber raw vegetables and legumes are normally healthy choices but can worsen gas and bloating when your stomach is already irritated.
Simple Habits That Help
How you position your body matters. Lying flat can push stomach acid upward, making heartburn worse. If acid is part of the problem, prop yourself up at a slight incline or sit upright. For gas pain, the opposite sometimes helps: lying on your left side with your knees drawn toward your chest can encourage trapped gas to move through your intestines.
Gentle movement like a slow walk around the block can also relieve gas and bloating by stimulating your digestive tract. You don’t need a workout. Five to ten minutes of easy walking is enough to help things move along. Avoid intense exercise, though, which can make nausea worse.
Deep, slow breathing can reduce the tension in your abdominal muscles that sometimes amplifies stomach pain. Try breathing in for four counts, holding for four, and exhaling for six. Stress and anxiety directly affect gut function, so calming your nervous system has a real physiological effect on your digestion.
When a Stomach Ache Needs Urgent Attention
Most stomach aches are harmless, but certain symptoms signal something more serious. Get medical help promptly if your stomach pain comes with any of the following:
- A rigid or distended abdomen that feels hard to the touch or visibly swollen
- Severe pain with guarding, where you instinctively tense your muscles and can’t let anyone press on your belly
- Vomiting that looks green or yellow (bilious vomiting), which can indicate a bowel obstruction
- Signs of internal bleeding, such as vomit that looks like coffee grounds or black, tarry stools
- Fever combined with abdominal pain, which can point to infection or inflammation like appendicitis
- Fainting or feeling like you might pass out
Pain that localizes sharply to one area, particularly the lower right side, deserves prompt evaluation. In people over 50, new or severe abdominal pain with back or flank pain warrants extra caution, as it can occasionally signal a vascular emergency. And anyone who could be pregnant should take abdominal pain seriously, since ectopic pregnancy is a time-sensitive condition that can mimic a bad stomach ache. Heart problems can also disguise themselves as upper stomach discomfort with nausea, especially in women and older adults.
For everyday stomach aches, though, the combination of heat, the right over-the-counter option, gentle foods, and a little patience usually does the job within a few hours.

