Dyspareunia is the medical term used to describe the sensation of discomfort or pain during sex. To be more exact, dyspareunia is defined as a constant or persistent pain or discomfort that begins at the moment of penetration during sexual intercourse or after its end.