1. Over-the-Counter Medications-For gas pain, medicine that has the ingredient simethicone (Mylanta, Gas-X) can help get rid of it.
-For heartburn from gastroesophageal reflux disease (GERD), try an antacid or acid reducer (Pepcid AC, Zantac 75).
-For constipation, a mild stool softener or laxative may help get things moving again.
-For cramping from diarrhea, medicines that have loperamide (Imodium) or bismuth subsalicylate (Kaopectate or Pepto-Bismol) might make you feel better.
-For other types of pain, acetaminophen (Aspirin Free Anacin, Liquiprin, Panadol, Tylenol) might be helpful. But stay away from non-steroidal anti-inflammatories (NSAIDs) like aspirin, ibuprofen (Advil, Midol, Motrin), or naproxen (Naprosyn, Aleve, Anaprox, Naprelan). They can irritate your stomach.
2. Home Remedies-Eat several smaller meals instead of three big ones
-Chew your food slowly and well
-Stay away from foods that bother you (spicy or fried foods, for example)
-Ease stress with exercise, meditation, or yoga
3. When to See a Doctor-You have severe belly pain or the pain lasts several days
-You have nausea and fever and can't keep food down for several days
-You have bloody stools
-It hurts to pee
-You have blood in your urine
-You cannot pass stools, especially if you're also vomiting
-You had an injury to your belly in the days before the pain started
-You have heartburn that doesn't get better with over-the-counter drugs or lasts longer than 2 weeks
Hope this helps and you feel better.
Source:
https://www.webmd.com/first-aid/abdominal-pain-in-adults-treatment