Cyst on ovaries and periods

I've been having some pain in my right ovary and thought I may have a cyst. I've had one before so I remember how painful it is. The problem is my period has been an absolute mess this month, bleeding three days then stopping for three then bleeding again. Can a cyst cause periods to be a mess like this?