There is no common solution for everyone .Currently you should take a low fibre,low fat ,low
sugar and low spice diet till u recover from symptoms.however,this should not be done permanently.
Once you are better,slowly reintroduce varied foods,observing which ones are troublesome for you and limit their intake.
For good gut health,its important to eat a variety of foods,and gut health is important for overall health
Next Steps
consult for prioer lifestyle medicine advise