Ovarian cyst while pregnant

Has anyone had ovarian cyst while pregnant? I have a history of them found out I'm 4 weeks preggers and I have sharp pain in my lower right side hoping and praying it's not an early sign of epotopic pregnancy or something like this....? Anyone?