Ovulation cramps..

Do they occur as your ovulating or right before? Or after?