Cyst on ovaries

I am 33 weeks pregnant and they found a cyst on my little girls ovaries. It scares me because my mom had cervical cancer and my grandmother had ovarian cancer. Has anyone else ever has this scare?