The mainstay of UTI treatment is antibiotics prescribed by a healthcare professional. The specific antibiotic and duration of treatment depend on the type and severity of the infection. It is important to complete the full course of antibiotics as prescribed.