How do I accept I may never be able to have a baby?

I still can’t accept that I may never be able to have a baby and it is a dream of mine. I’m 27 years old and I’ve had several miscarriages the furthest I was 6 weeks and had just heard the heartbeat. How can I accept I may never be able to have a baby?