Help 39 weeks

Legs are beyond achy, pelvis feels heavy and crampy and constant backache. I took a nap from 1-3 when i lay down im still hurting but i fell asleep and was fine all until i got up and now im hurting again. Whats going on ugh