Ovulation pain


When do you get ovulation pain? I’m starting to get a few twinges in my right side and last month it was my left so I think it could be ovulation pain. However I have not had a positive opk yet. So does the pain happen before during or after?