Ovary pain

Patient: I am a 28 year old female that has HPV. Sometimes when I sneeze or cough while laying down I get a very sharp pain in my ovaries. For the first time in my life I have had two periods in two weeks and there is severe pain in my ovaries. Could this be a sign of a ovarian cyst or cancer? If not, what could be causing this?