Antibiotics are typically used to treat UTIs in order to eradicate the infection. You can also use over-the-counter pain relievers if necessary. Antibiotics are often rapid and effective, with most symptoms disappearing within a day or two after taking the medication. However, even if your symptoms go away, make sure you finish all of your medication. If any bits of bacteria remain, the antibiotics will kill them too, which is why it's important to follow all instructions carefully. If your doctor recommends surgery as treatment for your UTI, then expect to spend several days in the hospital after the procedure. During this time, your body will be given time to recover from the surgery while at the same time fighting off the infection. After surgery, you may need to wear a urinary catheter for some time. This is a small tube that is placed into your bladder through an opening in your skin. You will usually only require this for a few days until your bladder has recovered enough to hold its contents. In some cases, the catheter may have to be removed early after the operation because your urine flow is not restricted sufficiently to prevent fluid from accumulating in your lungs. In this case, you will need to learn to walk again after your release from the hospital. It's very important to take all medications as instructed by your doctor. If you don't, there's no telling what might happen to your health.