Hi welcome to the health care magic
According to history provided excess bloating present with frequent bowel movement
Likely cause seems to be functional bowel problem...
Other causes are...
-stress
-eating too fast and too much intake of fatty foods
-Smoking
-
celiac disease -
irritable bowel syndrome -
acid reflux etc..
So if any of cause present than accordingly treatment given
You can be given fiber supplements for functional bowel problem and take green leafy vegetables, fruits more
If you are in stress, yoga and meditation beneficial.. If needed psychiatrist's help can be taken
If having bowel problem only after eating gluten containing diet like wheat than celiac disease ruled out by anti endomysial antibody and Anti tissue
transglutaminase antibody work up...
Take food in lunch and dinner slowly
If acid reflux associated than
rabeprazole can be prescribed
If still after rule out all above cause symptoms present than endoscopy and USG like further investigative work up needed
Take care
Hope your concern solved
Consult physician for examination with keeping all this in mind