Dyspareunia is pain during sexual intercourse. It can be due to either medical or psychological causes, and can occur any time during intercourse.