Medical ending of a pregnancy involves taking medication to trigger cramping and discharge , ultimately causing the loss of the fetal tissue from the uterus . This procedure is typically done earlier in the gestational , generally before thirteen weeks from the start of the woman's last menstrual . Two pills, mifepristone and misoprostol, are typic