I’ve had two back to back miscarrages

I’ve never had issue with miscarriages before all sudden I had two back to back. I feel like a failure and idk what is causing it. My doctor says the next step is a specialist.

I’m so heartbroken, each miscarriage destroys me a little bit more. I feel broken.