2nd trimester MC

Looking for someone to share their experience with a late miscarriage. I went for a ultra sound at 17w 5days because of cramping and found out my baby had passed at 14 weeks. I had heard the heart beat at 13w 5 days. I'm just so confused and idk what happened. I've heard the risk of miscarriage drops way down after hearing the heart beat. My doctor is no help and just says it was most likely chromosome issues but it does not ease my mind. We want to try again but I am so afraid..I can't do through this again 😞 Anyone have a late miscarriage and go on to have a healthy pregnancy afterward?