Hello - thanks for asking your question.
Dysuria (discomfort when urinating) is most commonly caused by an infection. This can be a urinary tract infection, kindey infection, prostate infection, or STD/urethritis.
In any case, a urinanalysis would a reasonable next step to determine if an infection is present. If there continues to be discomfort when urinating after appropriate antibiotic treatment, then referral to a urologist may be necessary.
I strongly suggest followup with your personal physician.
I stress that this answer is not intended as and does not substitute for medical advice - please see your personal physician for further evaluation of your individual case.
Thanks,
Kevin, M.D.