PCOS 🤔

Is PCOS genetic? My mom has it and I’m afraid I’ll inherit it. At what age is it usually diagnosed? And can it effect fertility? I would ask my mom but I tend to avoid talking about uncomfortable subjects sometimes 😪