How long did it take to get pregnant with PCOS

I was told i had PCOS yesterday and i was wondering how long did it take to get pregnant while on the treatment meds?