ovarian cyst

I’m TTC but i keep having reoccurring problems with ovarian cyst.. could they affect fertility? or has anyone else who has problems with them gotten pregnant?