What can be done for painful gas pains?

Pass gas. Assuming the pains are truly gas pains: gas pains can be quite painful. Carminatives help to pass gas. These can include fennel, fenugreek, cinnamon. Hot beverages help stimulate bowel function (even hot water, with or without lemon juice). Chamomile and peppermint help relax gut muscle spasms and may help. Ginger tea can help too. Avoid gassy foods, sugarless candies, bubbly drinks.