The pregnancy is still in your womb
A miscarriage has been confirmed on a scan but has not passed yet. Both routes may be open: a blood sample before anything is done, then tissue testing afterwards if tissue can be collected.
Placental DNA in your blood is highest while the tissue is in place, so the sample is best taken before tablets or surgery, after a scan that confirms tissue remains and checks for a twin or 'vanished twin'. Blood testing has not been studied when the location of the pregnancy is uncertain or a molar pregnancy is suspected; both need their own medical care first, so it is not usually suitable then. If you doubt the diagnosis itself, a second-opinion scan comes first.