Usually, if a pregnant woman is bleeding or having pain, an ultrasound should be done. The ultrasound can show that the fetus's heart is not beating, which means that the fetus has miscarried. If this happens, special tests should be done to make sure the woman does not have an ectopic pregnancy, which can kill a woman.