Pain during intercourse, known as dyspareunia, can stem from various causes, such as infections, hormonal changes, or psychological factors. It's important to consult a gynecologist to identify the underlying cause and receive appropriate treatment. Options might include medication, physical therapy, or counseling.