Miscarriage

Today I was officially told I’m miscarrying my baby. I have so much heart ache and not sure what the reason is only thing I can think of it my thyroid. I have issues since 14 with thyroid. Anyone else have the same