Signs labor is near?

Hey all, I’m 38 weeks pregnant and a little embarrassed. I have been experiencing cramping for the past hour or so, and do not know if it’s from needing to poo, or contractions? I did try to go to the bathroom, however nothing came out. How do you know if they’re contractions, or just cramping from needing to go?