You should consult a gynecologist at the earliest.
you might be suffering from an ectopic pregnancy
( pregnancy outside the uterus ), which maybe lethal.
Also, you might be having a condition called missed abortion
or incomplete abortion
, where the entire products of conception are not emptied out, and they are retained inside the uterine cavity
THis puts you at risk for infection, severe bleeding etc.
Please consult your doctor at the earliest.