I too began having this problem. Exceedingly scary. I discovered that taking probiotics help immensely. Eating yogurt, including frozen yogurts is very beneficial. I also take Natrol, a probiotic. There are many brands to choose from. Culturelle is a big one alongside Natrol etc.
I also discovered that chewing your food very well, and drinking water intermittently while eating helps a great deal. I have learned that if I go without eating anything for several hours that when I do finally eat and then it is a significant amount, that that is when I am in the most danger of having these scary symptoms. I also take Apple Cider Vinegar tablets on occasion and Anti Gas pills when I do get the symptoms and effects we have all come to dread. Moving around seems to help lessen the intensity also. I can not stress taking probiotics and eating yogurt enough. I have also found relief by taking Hemp Oil. The non THC kind like Nutiva. I thank the Lord, Jesus Christ as I believe He guided me to find the above things I have mentioned that work.