Sharp pain

Crazed
So me and my boyfriemd have sex and whenever we go to a position where my right leg is up, i get a sharp pain in my lower right abdomen, what could it be? Its happened before where i get sharp pain in the lower abdomen during sex