How many miscarriages/ chemicals did you have before having a healthy baby?

I'm at my wits end!!!! Miscarried at 10 weeks and then had 2 chemicals these past 2 months.... what's going on? Any positive stories? I feel like I'm not going to be a parent :( I'm just heartbroken