Bad period pains and backache

Carli
I am 34 weeks 3 days. I woke up to go for a wee and had terrible period like pains in my lower abdomen and backache I got back to bed and for about half an hour constant period pains and back ache. Anyone know what this could be? It's eased of a bit now but still have the backache.