What do contractions feel like

All day I’ve had this on and off feeling like I need to poop but I don’t. And it hurts really bad, but it’s not consistent at all. Could these be contractions or am I just constipated lol