can an ovarian cyst affect fertility ?

Sky

as the title says, ive been told i had one around 2 months back and its been there for a while and I'm just wondering