Cervix pain in early pregnancy

Has anyone had pain in cervix in early pregnancy? I had this pain with my last pregnancy that ended in miscarriage now I am experiencing the pain again I’m afraid this is another miscarriage 😞 I haven’t missed my period yet but test was positive this morning