@Lauren 2021,
I think it's a food poisoning issue.
Drink plenty of fluids (water is a natural detox). Try to sit on the toilet and get it all out. Change your diet to include more fruits and veggies.
Pills don't really help. My mom has been on Nexium for a couple years now, and she still can't eat foods she like. It only treats the symptoms.
Change your diet. Drink loads of water, and have a good bowel movement to flush out whatever's in there. After a few days, go to the doctor. Sometimes gas can be a sign there is a polyp or tumor blocking things. Or an allergy.