Idk is it like a contraction

Why does it feel like I have to use the bathroom like im holding it n ur stomach starts to cramping up really bad but every single time I try to go i cannot go then like an half hour to an hour later it does it again it hurts so bad im 38 weeks n my first one so idk