Cramping at 24 weeks

Le

I woke up this morning hurting pretty bad with period like cramps and it’s pretty uncomfortable sharp pain. I don’t remember having this with my son. Should I call my dr and see what’s going on? I did go into premature labor with my son at 31 weeks but they were able to stop it with medication but I don’t remember it feeling like this. The pain is worse when I sit down or lay down