The medical term for this is dyspareunia, which refers to recurring or persistent pain before, during, or after sex, according to the Mayo Clinic. A health care professional should ask about a woman's history of pain during intercourse. Pain located in the entire vaginal area may indicate. In many cases, a woman can experience painful sex if there is not sufficient vaginal lubrication. When this occurs, the pain can be resolved if.