Foods that can cause severe abdominal gas pains include fruits, vegetables, whole grains, beans and peas, as stated by Mayo Clinic. Fiber supplements that have psyllium can also lead to such conditions. Carbonated drinks, including beer, energy drinks and soda, may also lead to gas pains, according to MedlinePlus.
The formation of gas usually occurs due to fermentation of carbohydrates in the small intestine, notes Mayo Clinic. Even though high-fiber foods have many nutritional benefits for the body, they usually cause the formation of gas. Other factors that contribute to gas formation, include constipation, food intolerance, swallowed air, certain infections and artificial sedatives. In some cases, abdominal pain may be severe if the gas is caused by a condition known as viral gastroenteritis. Knowing when to seek medical help is necessary in avoiding any complications.
Abdominal gas pains can be prevented by avoiding foods that trigger gas formation, drinking plenty of water daily, exercising regularly and balancing meals, states MedlinePlus. Mild abdominal pain can be treated by taking antacids, avoiding anti-inflammatory medications unless prescribed by a doctor, refraining from dairy products and drinking clear fluids. If the pain persists for more than 48 hours, it is necessary to call a doctor. Also, a patient must be aware of any symptoms that might appear.