Several over-the-counter (OTC) medications can help relieve gas and symptoms like bloating and pain, including simethicone, activated charcoal, bismuth subsalicylate, antacids, and digestive enzymes.