An ulcer in your stomach or in the opening of your small intestine can cause cramps, vomiting, an upset stomach, pain, poor appetite, burping and weight loss. An ulcer is an erosion of the protective lining of your stomach or intestines. Once the protective layer erodes, the acids from the stomach and the ingredients of the food can aggravate the soft tissue beneath, leading to pain and cramping. Cramping after eating may be related to other gastric conditions as well and will need to be evaluated by your medical doctor.
About Ulcers
Ulcers are open sores that form either in your stomach, esophagus or small intestine. Cramping is common, but the most typical symptom of an ulcer is pain in the abdomen, according to MayoClinic.com. Ulcers that develop in the stomach are referred to as gastric ulcers, while ulcers that form in the esophagus and intestines are called duodenal ulcers. Most ulcers are not caused by stress or eating excessive amounts of spicy foods but are the result of excessive use of nonsteroidal anti-inflammatory drugs, such as aspirin and ibuprofen, radiation treatment and excessive alcohol consumption.
Cramping and Other Symptoms
While cramping is one of the symptoms of an ulcer, it is not the only symptom. Shortly after eating, you may develop abdominal pain, a feeling of fullness, mild nausea, vomiting, pain and hunger within one to three hours after eating a meal. Severe pain may be a sign of a more serious condition. If you develop chest pain, fatigue, bloody stools, bloody vomit or weight loss, call your doctor. Keep a food journal to determine if certain foods cause your symptoms. Share this journal with your doctor to help find an accurate diagnosis.
Other Conditions
Cramping after eating is a common symptom related to various other conditions, such as food intolerance, food allergy or irritable bowel syndrome. Food intolerance occurs when your digestive system cannot properly digest certain proteins and sugars, such as fructose or lactose. A food allergy is an immune system reaction that causes the body fight against proteins found in certain foods, such as eggs, tree nuts, wheat and milk. Irritable bowel syndrome is a common digestive condition that's marked by spasms and chronic diarrhea or constipation.
Considerations
Do not use over-the-counter medications to treat your condition until you've consulted your doctor. If you develop symptoms other than digestive symptoms -- such as rash, swelling or difficulty breathing -- call your doctor because you may be having an allergic reaction.


