Here are the main causes of stomach pain after eating that may require medical attention.
Ulcers - If you have an ulcer, any food you eat may irritate it, causing stomach pains after you've eaten. You can get ulcers in the lining of stomach itself, or you can get them in the upper part of the intestine known as the duodenum.
Stomach cancer - Unfortunately, stomach pains after eating may indicate that there's a tumor in your stomach. Incidence of stomach cancer has been dropping for decades in the United States, but it's still a possibility.
Gastroenteritis or "stomach flu" - Vomiting and stomach discomfort are common when you have a stomach virus. Vomiting is a natural way of getting rid of the bacteria in your stomach. Of course it is not uncommon to experience some abdominal discomfort and nausea at the same time, especially after eating.