Painful sex can affect both men and women and there can be many reasons such as a medical condition or psychological distress.
Females can experience painful sex when they are not feeling fully aroused during penetration or certain positions can cause discomfort due to deeper penetration. Menopause and hormonal changes can be a contributing factor as well as having surgery.
Men can experience pain during intercourse for reasons such as a tight foreskin, soreness around the foreskin, surgery, inflammation of the prostate gland or an infection.
Seeking sexual therapy it is best done after ruling out any underlying medical conditions. If you would more information or help contact me here.