Here are some tips on how to get rid of gas pains: By drinking a hot water. you can get rid of gas pains simply by boiling a glass of drinking water to acceptable temperature and drink it.Drinking hot water can also make your stomach feel a little more comfortable.ere are some tips on how to get rid of gas pains: By drinking a hot water. you can get rid of gas pains simply by boiling a glass of drinking water to acceptable temperature and drink it.