numb and in shock

Je
Just came home after a routine doctors appt. I'm almost 17 weeks and the doctor couldn't find the heartbeat.  Had an emergency ultrasound and it confirmed our angel (I learned it was a boy today) had passed. 
I have to now have a D&E. anyone ever have this?
I'm worried about future pregnancies. 
Thanks