Many women have painful intercourse at some point in their lives. The medical term for painful intercourse is dyspareunia (dis-puh-ROO-nee-uh), defined as persistent or recurrent genital pain that occurs just before, during or after sex. Talk to your doctor if you're having painful intercourse.