It is possible that you may have sustained some penile trauma. During an erection, arterial blood flow causes the penis to be come rigid thus placing it at higher risk for injury. The pain from trauma may last for a short time or it may continue. The penis develops a collection of blood under the skin called a hematoma, which can distort the appearance of the penis (eggplant deformity).
Imaging techniques might include an ultrasound of the penis, MRI or a special test called a cavernosogram. In the latter test, a thin hypodermic needle is inserted into one area of the penis before a radio contrast solution is injected and X-rays taken.
The treatment of choice will probably be for the individual to undergo surgery since it has the best long-term results by lowering complication rates often linked to non-surgical approaches.
I would suggest a referral to a urologist.
Followup with your personal physician is essential.
This answer is not intended as and does not substitute for medical advice - the information presented is for patient education only. Please see your personal physician for further evaluation of your individual case.
Thanks,
Kevin, M.D.