is there something wrong or am i just being a sook?

so a few weeks ago i was playing netball and i noticed a sharp stabbing pain in my left ovary, i thought it would’ve been a stitch and that it would go away but it never did, the pain was so bad that i couldn’t play much of the game and i could’ve cried. i told my mum about it and she said it could of been me just ovulating and that she gets it sometimes as well, so i brushed it off. the pain has come back a few times since but not as bad as when i was playing the game of netball, except during intercourse with my boyfriend doing doggystyle. i’m on my period now and i’m not even moving and i can feel the stabbing pain in the same spot, worse if i move. i’m on the pill so i’m not sure if that has got anything to do with the pain. is there something wrong or could it just be my body ovulating and on my period?