Miscarriages

So today I just experienced my 4th

Miscarriage... I’m really nervous that what if I can never have kids ... I wasn’t trying now I don’t plan on having a baby for a few more years ... but I’m wondering has anyone had a successful pregnancy after so many miscarriages ?