Is labor around corner or no

Hey ladies so I’m 39 weeks and today I’ve had the urge to go poop since 7pm unfortunately I’d sit on the toilet and nothing would come out.. so I’d get back up go on with day. Had small cramping but I felt like it’s due to not being able to poop (like when u have gas stuck aswell)so didn’t think much of it.. anyways it is now 4am and I’m sitting on toilet and I finally pooped it was diarrhea I’ve stopped now but I’m also getting small cramping (again not sure if it’s cause I need to poop again or what but I’m still on toilet) also feeling nauseous.. has this happened to anyone before and I’m so sorry if it’s Too much info. I appreciate the responses..