Thanks for your question.
This could be a sign of threatened miscarriage
or even an ectopic pregnancy
I hope you are taking rest & avoiding exercise & sex.
You should report this to your treating doctor & have a trans-vaginal ultrasound
to ensure all is well in there.
Please take Folic acid
supplements to ensure fetal well being.