how to get rid of gas pains to alleviate gas pains, try over-the-counter remedies like simethicone, avoid gas-inducing foods, chew food slowly, and practice relaxation techniques like deep breathing to aid digestion.