How long you have been experiencing these stomach pains after eating?
Stomach pain after eating usually indicates some stomach disorder like gastritis or peptic ulcer. First you can make serological tests for Helicobacter pilory. If you are positive for Helicobacter pilory, younger than 50 and symptoms are not so severe or prolonged (less than 4 weeks) you can try with proton pump inhibitors, H2-blockers and eradication therapy.
If your condition is prolonged (more than 4 weeks), severe, or you are older than 50 you may request upper endoscopy (gastroduodenoscopy) to find out the exact cause for the pain.