Hello and Welcome to MedHelp's forums. Typically if it is a UTI, you would have a frequent urge to urinate and pain upon doing so. But we are all individuals and things can happen differently for different people. We are glad you are seeing your doctor which is the right step to take. The urinalysis will be telling. Here is information including symptoms and treatment options of urinary tract infections. https://www.mayoclinic.org/diseases-conditions/urinary-tract-infection/symptoms-causes/syc-20353447.
Other possibilities for pain in the tip of your penis could include balanitis or prostatitis. https://www.webmd.com/men/penis-disorder-balanitis#1.
Let us know what your doctor says after your appointment.