PCOS and Pregnancy

Just wondering. If anyone else has fertility issues because of pcos. 28 years old and unable to conceive. I was scared to hear the truth from a doctor but it was time to go... I was told I have pcos and to “just keep trying”. How long are you supposed to “keep trying” until you’re not? Idk...