Why would I get overly pain when I’m not ovulating

A week ago it was my left ovary and today it’s my right ovary and it’s significantly painful and neither times I have been ovulating since wtf