Help!

38 weeks and I've been cramping all day today with constant back pain. I honestly feel like I need to have a BM but when I go nothing happens. My doctor stretched me yesterday and I lost my plug last night but not sure what these pains are!!! Theyre excruciating!