You should go see a docotor. It could be an infection, or something worse!
If it's not an infection it could still be a partial bowel blockage if you have IBS that tends towards constipation. That can be incredibly painful. Plus, a blockage or a partial blockage either one is dangerous. So, if that's what you're dealing with, you still need to see a doctor A.S.A.P.