Didn't even realize I was pregnant

I just had a miscarriage...
It was young, I don't know exactly how young/old since I didn't even know I was pregnant. 
I'm just sad. 
I wasn't trying for a baby but I know it was my type 1 diabetes that I was born with that probably killed it. 
I've had another miscarriage before this, because of my diabetes. 
It just makes me wonder if I'll ever be able to successfully carry out a healthy pregnancy
All of your support would be greatly appreciated.