25 weeks

I’m currently 25 weeks and I’m having pain around my lower stomach they feel like period cramps they came and they go, the top of my stomach feels hard when I’m feeling those pains? Is that normal? Should I call my doctor ??