Diagnosis
Tests and procedures used to diagnose urinary tract infections include:
Analyzing a urine sample. Your doctor may ask for a urine sample for lab analysis to look for white blood cells, red blood cells or bacteria. To avoid potential contamination of the sample, you may be instructed to first wipe your genital area with an antiseptic pad and to collect the urine midstream.
Growing urinary tract bacteria in a lab. Lab analysis of the urine is sometimes followed by a urine culture. This test tells your doctor what bacteria are causing your infection and which medications will be most effective.
Creating images of your urinary tract. If you are having frequent infections that your doctor thinks may be caused by an abnormality in your urinary tract, you may have an ultrasound, a computerized tomography (CT) scan or magnetic resonance imaging (MRI). Your doctor may also use a contrast dye to highlight structures in your urinary tract.
Using a scope to see inside your bladder. If you have recurrent UTIs, your doctor may perform a cystoscopy, using a long, thin tube with a lens (cystoscope) to see inside your urethra and bladder. The cystoscope is inserted in your urethra and passed through to your bladder.
Treatment
Antibiotics usually are the first line treatment for urinary tract infections. Which drugs are prescribed and for how long depend on your health condition and the type of bacteria found in your urine.
Simple infection
Drugs commonly recommended for simple UTIs include:
Trimethoprim/sulfamethoxazole (Bactrim, Septra, others)
Fosfomycin (Monurol)
Nitrofurantoin (Macrodantin, Macrobid)
Cephalexin (Keflex)
Ceftriaxone
The group of antibiotic medicines known as fluoroquinolones — such as ciprofloxacin (Cipro), levofloxacin and others — isn’t commonly recommended for simple UTIs, as the risks of these medicines generally outweigh the benefits for treating uncomplicated UTIs. In some cases, such as a complicated UTI or kidney infection, your doctor might prescribe a fluoroquinolone medicine if there are no other treatment options.
Often, UTI symptoms clear up within a few days of starting treatment. But you may need to continue antibiotics for a week or more. Take the entire course of antibiotics as prescribed.
For an uncomplicated UTI that occurs when you’re otherwise healthy, your doctor may recommend a shorter course of treatment, such as taking an antibiotic for one to three days. But whether this short course of treatment is enough to treat your infection depends on your particular symptoms and medical history.
Your doctor may also prescribe a pain medication (analgesic) that numbs your bladder and urethra to relieve burning while urinating, but pain usually is relieved soon after starting an antibiotic.
Frequent infections
If you have frequent UTIs, your doctor may make certain treatment recommendations, such as:
Low-dose antibiotics, initially for six months but sometimes longer
Self-diagnosis and treatment, if you stay in touch with your doctor
A single dose of antibiotic after sexual intercourse if your infections are related to sexual activity
Vaginal estrogen therapy if you’re postmenopausal
Severe infection
For a severe UTI, you may need treatment with intravenous antibiotics in a hospital.
source: https://www.mayoclinic.org/diseases-conditions/urinary-tract-infection/diagnosis-treatment/drc-20353453 © 1998-2022 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved.