Pain in Ovaries

I have this pain in my right side. It hurts when I walk and then when I sit down I have to move it hurts so bad. I'm on day 3 of AF. I've had this pain before but around the time I ovulated. Not on AF. Anyone have this? What were you told it was?