Common causes and how they produce pain
Pain during an erection can result from several mechanisms: impaired blood flow or clotting in penile vessels, infections that involve the urethra or genital skin, direct injury to the penis, and structural changes in penile tissue such as fibrous plaques. Systemic conditions and some medications may also contribute. The underlying mechanism influences the pattern and timing of pain.