Confused?!

Is it possible to ovulate right before your period? Or how does that work? My period is due in 12 days and according to opks I haven’t ovulated yet..