Having a healthy baby after miscarriage

Has anyone used the miscarriage pills before? When the baby had no heartbeat? 
​I was heartbroken when I went for early ultrasound and the baby had no heartbeat and measured small. They said I had to either do d&c or take pills I did the pills no easy choice. 
​Is there risk for future pregnancies? I have one health baby from previous relationship and I worry my husband and I won't be able to conceive a child together 
​We haven't tried again since the miscarring