If you’re in labour, contractions will happen in consistent intervals and will intensify more and more.. at 31 weeks, it could just be braxton hicks. Please monitor, if pain persists, see a doctor.
Contractions is more painful than diarrhea pain. It's very intense.