Can you get cramps if your pregnant ?

I haven’t gotten my period in almost a month but I’m cramping pretty hard like period cramps but not period.. is this a symptom to pregnancy?