One of the most effective treatments for UTIs is medication for UTI, which usually consists of antibiotics prescribed by a doctor. These medications help eliminate the bacteria causing the infection and provide relief from symptoms within a few days.