With the history an anomalous pregnancy and a chemical abortion, I would ask you to go for genetic counselling
before you plan to conceive again. As far as PCOD is concerned, you should get a complete hormonal profile, glucose tolerance test
, trans-vaginal sonogram, serum prolactin and DHEAS levels, and a tubal patency test. You may need a laparoscopic cyst
rupture if ovarian cysts are diagnosed. You may need priming with dexamethasone
before inducing ovulation along with timed intercourse and/or IUI. You may need hormonal supplementation. You would need weight management
and healthy diet. Hope you find this information useful. Good luck.