Ovarian pain

ruby
Before I get my period or even during I get pain in my ovaries. It has been on my left ovary for a while but while I was ovulating on my right. 
I read that pain during ovulation is okay but I kept getting pain on my left ovary even while I was on my period but I'm not sure what it is.