Hi, thanks for using healthcare magic
It is possible that you have a urethritis
which is inflammation and/or infection of the urethra
. The urethra is the passage inside the penis through which urine and semen pass.
This can occur due to different causes but the most common would be infection due to bacteria associated with sexually transmitted infections or bacteria associated with urinary tract
You need to consider visiting your doctor who will likely suggest a urinalysis
and also a urine culture (urine sent to lab for further analysis).
You will be given a prescription for antibiotics to help with the infection.
I hope this helps