Ovulation Cramps

Why is ovulation suddenly painful for me? I've had my period for YEARS and never felt anything when I ovulated. I have cramps and honestly they're so annoying and they hurt on the right side. Why exactly do we get cramps with ovulation?