You might try limiting your dairy and greasy food intake. I'm lactose intolerant, so if I consume a lot of dairy products, or straight milk, I'll get a bad attack. Also, too much greasy foods will do me in as well.
Keep a food diary for about two weeks. List what you have at each meal and snack. And list how you feel a little while after. Eventualy you should see a pattern if food bothers you and you can eliminate the offending food group. Sometimes, if it's coffee that sends you cramping or running to the toilet, you find you may tolerate one cup but two will do you in. OR a litte dairy is fine, but you can't have a glass of milk with breakfast and pizza that night. It's a process of elimination and control. It can be fustrating, but once you find the right combo's, you tummy will thank you.