Missed miscarriage?

crystal

I had a missed miscarriage recently. I went in for my Thursday appt and doc couldn't find a heartbeat and requested to do an ultrasound to find out babies heartbeat stopped and was measuring 8 weeks and 4 days. How can I prevent this? Bending to much? Over stressing? Now hubby doesn't want to try since this happened. Tips?