Thanks for query,
First have full control of thyroid
then chances of pregnancy
increases and chances of miscarriage
Go for ovulation study,if there is no proper development and growth of follicle then go for its treatment.
After treatment you will definitely get pregnancy.
After you become pregnant go for treatment for not having miscarriage.
Ok and bye.