30 weeks cramps

Yesterday I had the worst lower back cramp it felt like period cramps but it slowly intensified and then went away, the only thing I can compare it to is the pain I felt when I miscarried at 10 weeks last year