Gas X? (TMI)

I have been getting woken up by gas pains, in addition to the burping (yuck). I have to get up to the bathroom to relieve the gas pressure. I have been managing diarrhea and constipation from the beginning—one or the other happens the first week of a higher dose, and once I get it managed I’m fine for the rest of the month. But the gas, yikes. I am thinking of taking Gas X to try to reduce the gas. Has anyone had this problem, and is this a good solution?