Hi
Welcome to the MedHelp forum!
You could be suffering from an inflammatory bowel condition such as Celiac Disease/Ulcerative Colitis/Irritable Bowel Syndrome/ Crohn’s disease. Problems of gall bladder and liver or that of pancreas too cannot be ignored. Possibility of H pylori infection should be looked into by carbon urea breath test. I would strongly recommend you to see a gastroenterologist (a specialist who looks after the diseases of our digestive system). Maybe your physician can recommend someone. Also keep a stress diary. Log in the food intake and the symptoms as they appear. See if there is a correlation between a particular food item and symptoms. Take care!
Do you have these pains even without eating? I've experienced similar pains that occur after eating which could be acid related. If it is all foods that are doing it, I would definitely suggest trying some antacids and see if that doesn't help. Also try pepto, that coating your stomach and intestines may also help. Try a mix of various foods, and even juices, to see if it is everything, or just a bad food reaction. And definitely see a gastro if you can.
I'm not a doctor, but it sounds like you should see a gastroenterologist (who specializes in stomach problems) - maybe you have an ulcer or something else more serious.