Medical abortion of a gestation involves taking medication to trigger cramping and bleeding , ultimately leading to the loss of the developing baby from the uterus . This procedure is typically done earlier in the pregnancy , generally up to ten weeks from the first day of the individual's last menstrual . Two drugs , mifepristone and misoprostol,