Breathing exercises or other grounding exercises because stress can make it worse. I like to inhale for 4 counts, hold for 2, exhale for 6. Or for other grounding exercises do the 5 senses technique or pick a category (ex. mammals, countries) and pick an example that starts with each letter of the alphabet. This won’t completely cure the gas pain (unless it’s psychosomatic) but it might decrease the pain a bit