Phenazopyridine is a chemical which, when secreted into the urine, has a specifical local analgesic effect. It is often used to alleviate the pain, irritation, discomfort, or urgency caused by urinary tract infections, surgery, or injury to the urinary tract.
Phenazopyridine is also prescribed for other cases to relieve irritation or discomfort during urination. For example, it is often prescribed after the use of a catheter or after penile surgery which results in the irritation of the lining of the urinary tract.
More on [ Phenazopyridine ]

Phenazopyridine - FamilyDoctor.org - Information for consumers in English or Spanish.