I just had a pretty Severe period cramp I literally just found out Im pregnant

I found out early though my period is due in two days though I was expecting it not to come I had period cramps all day yesterday with no blood i’m scared i’m going to miscarry