you have to consult gynecologist once after getting positive pregnancy test and confirm that and have to take necessary medicines,
this is also important as you can rule out ectopic pregnancy by examination and ultrasound
at that time,
anyhow now you consult as early as possible and undergo ultrasound once to rule out miscarriage
and ectopic pregnancy,
if pregnancy is still viable you can take progesterone tablets
for prevention of further attacks, if it is incomplete abortion
then you have to go for evacuation.