High testosterone and ttc anyone?

GF
My doctor told me I have high testosterone levels and that is why my periods are longer and I am finding it difficult  in TTC. I have no unusual hair growth and kind of long cycle but regular periods. Went to the gym and it messed up my periods. So went on medication to bring it back to normal. Anyone had this condition. I seem to be unable to lose weight. Any help will be appreciated. Thanks!