Azithromycin can treat urinary tract infections caused by Gram-positive cocci, and can also be indicated for urinary tract infections caused by mycoplasma and chlamydia, so it is recommended to go to the hospital for examination, and if the diagnosis is due to Gram-positive cocci or mycoplasma and chlamydia infections, azithromycin can be used for treatment. However, if the urinary tract infection is due to other pathogens, such as Escherichia coli, azithromycin cannot be used for treatment and other sensitive antibiotics are recommended for treatment. When treating urinary tract infections, it is recommended to retain the middle urine for urine culture and drug sensitivity test examination to clarify what bacterial infection and what drug it is sensitive to, otherwise the empirical use of antimicrobials may result in bacterial resistance, resulting in ineffective treatment and increased costs for the patient. It is also possible that the use of a large number of antimicrobials may lead to a decrease in immunity or a combination of fungal infections, which may further aggravate the existing infection. Therefore, it is recommended to go to the hospital to follow medical advice to choose the appropriate drugs to carry out anti-infection treatment.