Urinary tract infections are treated with a short course of antibiotics. Some of the bacteria that cause UTIs are resistant to some of these antibiotics so urine cultures are often done to confirm if the proper antibiotic is being used.