Pain during intercourse :(

Sometimes when me and my SO have sex I get a sharp pain in the right side of my pelvis. It might be my ovaries but I am not sure.. I've had it a while now and am unsure if anyone else experiences this issue?