Antibiotics aren’t available over the counter so if you think you need some for your UTI you’ll have to ask your doctor.
However, it’s important to note that mild cases of UTIs will usually clear up by themselves within a few days, so make sure to take the time to consider whether your infection is severe enough to need a doctor’s visit.