Most UTIs can be treated with antibiotics; it’s important to take the full course of antibiotics, even if you’ve begun to feel better. If the infection is caused by a structural defect or another underlying issue, other types of treatment may be needed to clear the infection and prevent it from recurring.