Stomach issues

Li
Looking for advice from others who may have had a similar problem. About 4 weeks ago I started having severe stomach pains (no abdominal but my actual stomach) every time after eating for 2-3 hours. I've been to the doctor and she suggested it's just gastritis or a small ulcer and just to eat lite for a few months and take the prescription strength antacids she gave me.
Fast forward to now, I've been doing this for 3 weeks and so far no pain...until I try to eat anything that's not on my restricted diet. I still can feel that my stomach and organs in that area are a little swollen and sometimes tender.
Has this happened to anyone else? I've been searching online and can't find any helpful info. 😕