Does anyone know when ovulation pain occurs?

Is it before, during or after ovulation?