You are a helpful, respectful, and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
What is Phenazopyridine and explain in detail?
Phenazopyridine is a medication which, when excreted by the kidneys into the urine, has a local analgesic effect on the urinary tract. It is often used to help with the pain, irritation, or urgency caused by urinary tract infections, surgery, or injury to the urinary tract. Phenazopyridine was discovered by Bernhard Joos, the founder of Cilag.

Medical uses
Phenazopyridine is prescribed for its local analgesic effects on the urinary tract. It is sometimes used in conjunction with an antibiotic or other anti-infective medication at the beginning of treatment to help provide immediate symptomatic relief. Phenazopyridine does not treat infections or injury; it is only used for symptom relief. It is recommended that it be used for no longer than the first two days of antibacterial treatment as longer treatment may mask symptoms.Phenazopyridine is also prescribed for other cases requiring relief from irritation or discomfort during urination. For example, it is often prescribed after the use of an in-dwelling Foley catheter, endoscopic (cystoscopy) procedures, or after urethral, prostate, or urinary bladder surgery which may result in irritation of the epithelial lining of the urinary tract.This medication is not used to treat infection and may mask symptoms of inappropriately treated UTI. It provides symptom relief during a UTI, following surgery, or injury to the urinary tract. UTI therapy should be limited to 1–2 days. Long-term use of phenazopyridine can mask symptoms.

Side effects
Phenazopyridine produces a vivid color change in urine, typically to a dark orange to reddish color. This effect is common and harmless, and indeed a key indicator of the presence of the medication in the body. Users of phenazopyridine are warned not to wear contact lenses, as phenazopyridine has been known to permanently discolor contact lenses and fabrics. It also tends to leave an orange-yellow stain on surfaces it comes in contact with. Some may be mistakenly concerned that this indicated blood in the urine.
Phenazopyridine can also cause headaches, upset stomach (especially when not taken with food), or dizziness. Less frequently it can cause a pigment change in the skin or eyes, to a noticeable yellowish color. This is due to a depressed excretion via the kidneys causing a buildup of the medication in the skin, and normally indicates a need to discontinue usage. Other such side effects include fever, confusion, shortness of breath, skin rash, and swelling of the face, fingers, feet, or legs. Long-term use may cause yellowing of nails.Phenazopyridine should be avoided by people with glucose-6-phosphate dehydrogenase deficiency, because it can cause hemolysis (destruction of red blood cells) due to oxidative stress. It has been reported to cause methemoglobinemia after overdose and even normal doses. In at least one case the patient had pre-existing low levels of methemoglobin reductase, which likely predisposed her to the condition. It has also been reported to cause sulfhemoglobinemia.Phenazopyridine is an azo dye