I have pain during ovulation. Why?

At first I thought it might be hernia-related. But I realized each ovulation cycle, I feel pain in one or the other ovarian areas. Sometimes the pain is sharp and other times it just throbs and I feel weak and dizzy for a few days. It hurts to urinate and use my abdominal muscles to have a bowel movement! But the pain is consistently present when I'm ovulating. What should I do?