I tried GasX and didn't see much help. But Beano has to be taken when you eat the food. So in the future you might want to try Beano if it is a particularly gassy food. Otherwise try the GasX for existing gas.
The Beano is expensive and you get very few pills for your money.