To answer your question:
1) An STD is possible. You can consider a urethral swab and urine tests to evaluate for gonorrhea or chlamydia.
2) If infection is ruled out, an anatomical abnormality such as a urethral stricture or polyp can be considered. A cystoscopy can be done to evaluate these possibilities.
3) I would only consider psychosomatic causes if all other causes have been evaluated for.
These options can be discussed with your personal physician.
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.
Kevin, M.D.
kevinmd_b