Thank you for your question.
PCOD is a metabolic syndrome that is related to lifestyle. So you can manage it not cure it.
Your worry and concern is legitimate especially since there has been a miscarriage. It is difficult to believe everything you hear under such circumstances. The good thing is that you are able to get
pregnant. Miscarriage is very common even without PCOD. One in five pregnancies ends in miscarriage. 95% of people having miscarriages will go on to have a successful pregnancy. So although it feels worrying now, the outlook is quite good. You need to focus on managing the lifestyle that caused PCOD in the first place. This includes, exercise, positive attitude, rest and nutrition. You nutritional needs are specifically aimed at reducing insulin resistance and reducing abdominal or interstitial fat. . Read 'Escape the diet trap' by Dr John Briffa. 'Optimal Health' by Dr Duke Johnson.
Hope this helps