Stomach pain is one of the most common reasons people see a doctor or miss work or school. Most episodes are short-lived and not dangerous. The practical first step is to stop and assess: where the pain is, how it started, and whether it comes with warning signs like blood, fever, or pain that keeps getting worse. Those answers decide whether you rest and wait or seek medical care right away.
What Do You Do When Your Stomach Hurts?
Start with the location and the pattern of the pain. Where it sits and how it behaves tells you a lot about what is likely going on and how urgently you need help.
Generalized cramping that comes in waves often points to gas, indigestion, or a mild stomach bug. Pain that starts near the belly button and then settles in the lower right side is a classic pattern doctors watch for appendicitis. Pain in the upper right can involve the gallbladder. Burning in the upper middle or behind the breastbone is more typical of acid reflux.
Next, ask yourself a few quick questions:
- Did the pain come on suddenly and severely, or build up slowly?
- Is there vomiting, diarrhea, fever, or blood?
- Can you pass gas or have a bowel movement?
- Are you pregnant or could you be?
- Does the pain get worse when you press on your belly or move?
For mild, familiar discomfort without any of the warning signs below, it is reasonable to rest, sip clear fluids, eat bland food if you are hungry, and avoid alcohol and heavy meals for a day. Many everyday stomach aches settle on their own within hours to a couple of days.
When Is Stomach Pain a Medical Emergency?
Some stomach pain needs emergency care, and delay can be dangerous. Call 911 or go to an emergency department if you have any of the following:
- Severe pain that comes on suddenly and does not ease
- A belly that is rigid, hard, or too tender to touch
- Vomiting blood, or vomit that looks like coffee grounds
- Black, tarry, or bloody stools
- Chest pain, shortness of breath, or pain spreading to the shoulder, neck, or jaw
- Fainting, confusion, or a very fast heartbeat
- Pain with a high fever
- Pain during pregnancy, especially with bleeding or cramping
One thing people often miss: heart attacks do not always feel like chest pain. In some people, especially women and older adults, a heart attack can show up as upper stomach pain, nausea, or a vague sense of pressure. If stomach pain comes with sweating, breathlessness, or a feeling that something is very wrong, treat it as urgent.
For pain that is severe but not an emergency, same-day contact with a doctor or urgent care is the sensible middle step. This includes pain that keeps you from eating or drinking, pain with repeated vomiting, or pain that has lasted more than a day or two without improving.
What Are the Most Common Causes of Stomach Pain?
Most stomach pain has an ordinary cause. Here are the usual suspects, grouped by how they tend to feel.
- Indigestion and gas. Bloating, burping, and crampy discomfort after eating. Often linked to large or fatty meals, fizzy drinks, or eating fast.
- Constipation. Hard, infrequent stools with cramping or a dull ache. Very common and often relieved by fiber, fluids, and movement.
- Viral gastroenteritis. The “stomach bug.” Cramping, nausea, vomiting, and diarrhea, usually clearing within a few days. The main risk is dehydration.
- Acid reflux. Burning in the upper stomach or chest, worse after meals or lying down.
- Food poisoning. Cramps, nausea, and diarrhea starting hours after a suspect meal.
- Menstrual cramps. Lower abdominal cramping tied to the menstrual cycle.
- Urinary tract infection. Lower abdominal discomfort with burning on urination or frequent urges.
Less common but more serious causes include appendicitis, gallbladder disease, pancreatitis, ulcers, kidney stones, and bowel obstruction. These tend to produce pain that is more severe, more persistent, or paired with other warning signs.
One clarification worth knowing: “stomach flu” is not influenza. It is usually caused by viruses like norovirus or rotavirus that infect the gut, not the respiratory system. That is why a flu shot does not prevent it.
How Do You Treat a Mild Stomach Ache at Home?
For mild, familiar stomach discomfort without warning signs, simple home care is reasonable. The goal is to avoid making things worse while your body settles.
- Hydrate. Sip water, clear broth, or an oral rehydration solution. Small, frequent sips are easier on a queasy stomach than large gulps.
- Eat bland if hungry. Crackers, rice, bananas, toast, and plain chicken are gentle options. You do not need to force food if you are not hungry.
- Skip irritants. Alcohol, coffee, spicy food, and very fatty meals can aggravate discomfort.
- Try gentle heat. A warm compress or hot water bottle on the belly can ease cramping.
- Rest. Give your gut a break from intense activity.
Over-the-counter options exist, but they are not one-size-fits-all. Antacids can help with reflux-type burning. Anti-diarrheal medicines are generally not recommended when there is fever or bloody diarrhea. Pain relievers vary: some, like ibuprofen and aspirin, can irritate the stomach lining, while acetaminophen is gentler on the stomach but carries its own risks, particularly for the liver. If you are unsure which is right for you, ask a pharmacist or doctor.
Do not take antibiotics for stomach pain on your own. Most stomach aches are viral or non-infectious, and antibiotics do nothing for those. They also carry real risks, including disrupting gut bacteria and contributing to antibiotic resistance.
What About Diarrhea and Vomiting?
Diarrhea and vomiting are common companions to stomach pain, and the main concern with both is dehydration. Watch for thirst, dark urine, dizziness on standing, and a dry mouth. These are signs you need more fluids.
For adults, an oral rehydration solution is the most effective way to replace both water and salts lost through vomiting or diarrhea. Sports drinks are a partial substitute but often contain more sugar than ideal. If you cannot keep fluids down for many hours, or you cannot urinate, seek medical care.
Avoid anti-diarrheal medicines if you have a high fever or blood in your stool, since slowing the gut in those situations can be harmful. Seek care if diarrhea lasts more than a couple of days, if you see blood, or if you have recently taken antibiotics or traveled abroad.
What If the Pain Keeps Coming Back?
Recurring stomach pain deserves a proper look. Pain that returns again and again over weeks or months is not something to keep self-treating indefinitely.
Keep a simple log: when the pain happens, what you ate, how long it lasts, and any other symptoms. This helps a doctor spot patterns. Depending on your history, they may consider conditions such as irritable bowel syndrome, acid reflux, ulcers, food intolerances, or gallbladder problems.
Red flags for a recurring pattern include unintended weight loss, pain that wakes you at night, difficulty swallowing, ongoing vomiting, blood in the stool, or a family history of gastrointestinal cancer. These warrant prompt medical evaluation rather than watchful waiting.
How Can You Lower the Odds of Stomach Trouble?
You cannot prevent every stomach ache, but a few habits reduce the frequency. Eat smaller meals if large ones leave you uncomfortable. Chew slowly. Limit alcohol and very fatty or spicy foods if they reliably trigger symptoms. Stay physically active and drink enough water to keep stools soft.
Wash your hands before eating and after using the bathroom, and be careful with food storage and reheating. Many cases of food poisoning are preventable with basic kitchen hygiene. If a specific food repeatedly bothers you, note it rather than assuming you have an allergy. True food allergies involve the immune system and can be serious; food intolerances are more common and usually less dangerous.
Frequently Asked Questions
When should I worry about stomach pain?
Worry when pain is severe, sudden, or comes with blood in vomit or stool, a rigid belly, high fever, fainting, or chest symptoms. Any of these means seek emergency care right away.
What helps stomach pain fast?
For mild discomfort, rest, sipping clear fluids, gentle heat on the belly, and bland food often ease symptoms. There is no single fast fix, because the right approach depends on the cause.
How long should stomach pain last before seeing a doctor?
See a doctor if pain lasts more than a day or two without improving, keeps you from eating or drinking, or keeps returning. Severe or worsening pain should be checked immediately.
Is it OK to take ibuprofen for stomach pain?
Ibuprofen can irritate the stomach lining and is not ideal for undiagnosed stomach pain. Acetaminophen is gentler on the stomach, but ask a pharmacist or doctor if you are unsure which is right for you.

