thank you for your query.
Firstly, without knowing the cause of your previous miscarriages, please do not plan a pregnancy
Please consult an expert gynecologist for thorough preconceptional counselling
Commonest cause of miscarriage are genetic reasons.
Ideally, karyotyping of products of conception should have been done.
You and your partner should undergo genetic evaluation.
Intra uterine infections should be ruled out, and treated if present.
Uterine and cervical abnormalities should be screened out.
Autoimmune causes of abortions should be evaluated by appropriate tests.
Also, your hormonal
profile to check for hormonal imbalance as a cause of abortions should be done.
Take regular folic acid
Only after detailed testing, once you have the cause in hand, you should plan your next pregnancy.