My joints hurt after sex

Like the inside of my legs connecting my thighs to my pelvis area. They hurt after sex. Almost always. Is there anything I can do to lessen this pain?