Ovulation pain

So last night I woke up with horrible pain on the right side of my ovarie couldn’t go back to sleep or get comfortable. This morning I still had it not as bad and this afternoon it went away even more but the ache is still there. I called my Obgyn and she said it sound like I’m ovulating? But how because I’m on cycle day 22 and only have an average of a 26 day cycle. Only had sex cycle day 19, 21 and 22..?