Do gas-x and other over-the-counter tablets help with the gas you get after a colonoscopy?

Usually not. The gas after colonoscopy is further down the gut and any anti-gas medication (most of which act locally) will not get there in time to disperse the gas.