Horrid gas

That won't quit. Not sure what the cause, it happens unpredictably and is horribly embarrassing and terrible and inconvenient. Gas-x didn't touch it. Tips?