Fertility problems

Hey so yesterday I went to see my doctor for the first time in like a yearish and just found out that ive been getting pregnant this whole time and loosing all of them ...since my first miscarriage at 8 weeks and a few days last year ive had 8 miscarriages ..they've now referred me to a fertility clinic for me and my partner and im now just stressed out and sad......Im scared there going to tell me I can't carry a baby.....im only 23 and I cant carry a baby like wtf is that im so frustrated and upset........