doctor said I have an ovarian cyst

Maggie
I got a ct scan done and my doctor found a 2 cm cyst on my left ovary. I'm told it will go away most likely. 
So my concern is that I have been having really bad pain when me and my boyfriend have sex. 
Has anyone ever had a cyst and experienced pain when having sex with thier partner?