Hello,
It appears to be urethritis, an inflammation of the urethra (the duct which carries the urine from urinary bladder). Now, urethritis is commonly caused by a sexually transmitted disease in a sexually active adult. The STD is usually caused by either gonorrhea or Chlamydia.
The other possibility which needs to be ruled out is a urinary tract infection and also prostatitis or any stone in the urinary tract.
I’ll suggest you to get yourself examined by a surgeon, followed by an ultrasound of the urinary tract and maybe some tests like urine examination etc.
I sincerely hope that helps. Please do keep me posted. Kind regards.