A short course of antibiotics is typically the first-line treatment for UTIs. But for chronic infections, a doctor might prescribe a long-term, low dose antibiotic.