It works for me sometimes
I have found GasX to be quite helpful in relieving bloating as well as excess gas.
Baking soda works just as well, if not better, than the commercial meds, and is much much cheaper. You will have to figure out when is the best time for you to ingest it. and there's nothing harmful in baking soda that I'm aware of. I have to ingest the baking soda first thing in the morning, prior and after all meals, last thing at nigh prior to going to bed. I haven't had painful gas for a long time now with the baking soda.
Doesn’t work for me I use Mylicon
Baby gas drops help