Medication to manage abortion and miscarriage