Hello - thanks for asking your question.
Without seeing the lesion, I cannot be sure what it is.
You may be describing superficial thrombophlebitis of the penis (an uncommon disease known as Mondor's disease). This is an inflammatory reaction to a clot within the vein. This subsequently causes blockages and dilation of the vein. It is typically painless, but can be painful. In studies, patients were noted to have thrombophlebitis after a prolonged sexual act with or without intercourse. It was described as cord-like thickening of the superficial penile veins.
Diagnosis is via ultrasound which shows blockage of the vessels. Treatment is with anti-inflammatories (i.e. aspirin or ibuprofen) and most resolve within 4-6 weeks. If it persists, then surgery may be necessary. A referral to a urologist would be reasonable.
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.