Go see gastroenterologist, if you haven’t, yet. There are many reasons for stomach pain. Could be an acid. Could be h pylori. Indigestion. Ulcer, etc. I suggest keeping a diary of your symptoms, foods you eat, bowel movements for a month or so, this way you might be able to identify any food intolerance on your own while waiting to see a provider.