Common causes of stomach cramps include indigestion, constipation, stomach virus, menstrual cramps, food allergies and gas. More serious causes of stomach cramps include ulcers, Crohn's disease and appendicitis, explains WebMD.
Usually, stomach cramps and pain are not cause for worry or concern. They are most commonly caused by conditions that quickly resolve on their own, such as gas, indigestion and menstrual cramps. However, you should see a doctor if you experience fever or vomiting for more than two days, signs of dehydration, constipation, painful or frequent urination, tender abdomen, pain resulting from injury or pain that lasts for more than a few hours, according to WebMD. If you vomit blood, pass bloody or black stools, experience difficulty breathing or are pregnant, you should seek emergency medical attention, as these symptoms indicate a serious condition.
If abdominal pain persists beyond two days, a doctor can determine the cause of symptoms through a thorough medical examination. Certain tests, including stool tests, urinalysis, blood tests, endoscopy and X-ray, and ultrasound are employed to determine the cause of the cramping. Many digestive disorders are treated through nonsurgical means, such as antacids, antibiotics and lifestyle changes. Some conditions may require surgery, including appendicitis, ulcers and intestinal blockage, says WebMD.