When gas is very painful, does that mean anything. Or do I just need to lay off spicy foods?

Distention. Gaseous distention or expansion of the colon may produce discomfort, but more serious problems like infections, poor circulation, kidney stones and other things can produce similar symptoms, a visit to your doctor or the er is warranted to make sure that nothing serious is happening.