4 weeks and cramps

da
I just found out I am pregnant 2 days ago but I have been having period like cramps and sharp pains on my cervix but its closed . Is this normal ? How can I be sure I'm not about to lose my baby ?