How to Relieve Stomach Pain: Remedies That Work

Most stomach pain can be eased at home with a combination of simple physical techniques, dietary changes, and the right over-the-counter remedy for your specific symptom. The key is matching your approach to what’s actually causing the discomfort, whether that’s gas, acid, cramping, or an upset stomach from something you ate.

Heat and Body Position for Quick Relief

A heating pad placed on your abdomen for about 15 minutes is one of the fastest ways to calm stomach cramps. Heat relaxes the smooth muscles in your digestive tract, which reduces the spasming that causes sharp or crampy pain. If you don’t have a heating pad, a warm bath works just as well. Soak for 15 to 20 minutes at a comfortable temperature.

If bloating or trapped gas is the problem, your body position matters. Lying on your back and hugging both knees to your chest (sometimes called the wind-relieving pose) compresses your abdomen and helps move gas through. Hold for 5 to 10 breaths, rocking your knees gently side to side. A spinal twist, where you drop both knees to one side while lying flat and turn your head the opposite direction, also massages and tones the abdominal organs. These positions are worth trying before reaching for any medication, especially for gas and bloating that feel “stuck.”

For cramping specifically, try sitting on your heels and leaning back with your palms on the floor behind you, pressing your chest upward into a gentle arch. This stretches the belly and can ease the tightness that comes with menstrual or digestive cramps. Hold for five breaths.

Choosing the Right Over-the-Counter Medication

Different stomach symptoms call for different medications, and picking the wrong one means waiting around for relief that won’t come.

Antacids (like calcium carbonate tablets) neutralize acid that’s already in your stomach. They work within minutes and are best for occasional heartburn or that burning feeling after a heavy meal. Their relief is real but short-lived.

H2 blockers reduce acid production by blocking one of the chemical signals that tells your stomach to make acid. They kick in within one to three hours and last longer than antacids. They’re a good choice for occasional heartburn and relieve symptoms in about 50% of people who use them over several weeks.

Proton pump inhibitors (PPIs) shut down acid production more completely by blocking the pumps that release it. They take longer to start working, so you need to take them 30 to 60 minutes before eating, but they’re more effective for persistent or severe acid reflux. PPIs relieve heartburn in up to 77% of people with esophageal inflammation.

For gas and bloating, look for products containing simethicone, which breaks up gas bubbles. For general nausea or diarrhea, bismuth subsalicylate (the active ingredient in pink stomach relief liquids) coats the stomach lining and can calm things down.

One Important Thing to Avoid

If your stomach already hurts, do not take ibuprofen, aspirin, or other common anti-inflammatory painkillers. These drugs can damage the lining of your stomach and small intestine, potentially causing ulcers, bleeding, or perforation. They’re a common cause of stomach problems in the first place. If you need a pain reliever while your stomach is bothering you, acetaminophen is a safer choice since it doesn’t irritate the gut lining the same way.

Ginger and Peppermint Oil

Ginger has real clinical evidence behind it for nausea and general stomach distress. It speeds up the movement of food through your digestive system and has anti-nausea effects in the brain. Clinical trials have used doses ranging from 250 mg to 1 g per day, split into three or four smaller doses. You don’t need to buy capsules: a thumb-sized piece of fresh ginger steeped in hot water for 10 minutes makes an effective tea. Interestingly, studies found no extra benefit from doubling the dose to 2 g per day, so more isn’t better here.

Peppermint oil works as an antispasmodic, meaning it relaxes the muscles in your intestinal wall. It’s particularly helpful for cramping and the kind of pain associated with irritable bowel syndrome. The NHS recommends one enteric-coated capsule three times daily, taken 30 to 60 minutes before eating. The enteric coating matters: it prevents the capsule from dissolving in your stomach (which can worsen heartburn) and delivers the oil to your intestines where it’s needed. Swallow the capsules whole, never chew them.

What to Eat When Your Stomach Hurts

You’ve probably heard of the BRAT diet: bananas, rice, applesauce, and toast. It’s fine for a day or two when you’re dealing with a stomach bug, food poisoning, or traveler’s diarrhea. But according to Harvard Health, there are no studies showing it’s better than simply eating bland, easy-to-digest foods more broadly. There’s no reason to limit yourself to just those four items.

Brothy soups, oatmeal, boiled potatoes, crackers, and unsweetened dry cereals are all gentle on your stomach. Once things start to settle, typically after a day or two, add foods that give your body the protein and nutrients it needs to recover: cooked squash, carrots, sweet potatoes without skin, avocado, skinless chicken or turkey, fish, and eggs. These are still bland and digestible but far more nutritious than plain toast.

While your stomach is upset, avoid anything fried, spicy, high in fat, or heavily seasoned. Caffeine, alcohol, and carbonated drinks can also make things worse. Eat smaller portions more frequently rather than full meals, and sip water steadily throughout the day to stay hydrated, especially if you’ve been vomiting or had diarrhea.

Signs That Need Medical Attention

Most stomach pain resolves on its own within a few hours to a couple of days. But certain symptoms signal something more serious. Go to an emergency room if you experience severe pain that makes it hard to move, eat, or drink. Stomach pain that comes on suddenly and intensely, rather than building gradually, is also a red flag.

Other warning signs include a high fever alongside the pain, blood in your stool or vomit, or abdominal pain following any kind of physical trauma or accident. It’s also worth knowing that heart attacks can sometimes present as severe nausea or pain in the upper abdomen beneath the rib cage, particularly in women. If the pain feels different from typical stomach trouble and you have any doubt, treat it as an emergency.