ovulation pain

When having ovulation cramps does that mean you're about to ovulate? Or have already ovulated when does the egg actually release?