Sharp pain in right ovary during sex?!

So every now and again I get this extremely sharp pain in my right side that feels like it's coming from my ovary. It usually happens when my husband and I are having sex and once the pain was so bad I was sobbing uncontrollably. I went to the gynecologist and he did an ultrasound and pretty much said I was fine and it was just ovulation pain. However I've noticed it occurs more than just around ovulation, like today (2 days before my period and I had the same sharp pain on my right side when my husband and I were having sex) So I'm just asking for advice because I already went to a doctor and he said I was okay but I'm still having pain that's not even around my ovulation time