This is not fair

We tried for six months got pregnant had a miscarriage and have been unsuccessful for the past two months. It’s really making my husband and I think there is something wrong which we don’t want there to be. This is horrible