While OTC medications can provide some relief from UTI symptoms, such as pain and discomfort, they do not cure the infection itself. Antibiotics, which require a prescription from a healthcare provider, are necessary to treat the underlying bacterial infection. It's important to consult with a healthcare professional for the proper diagnosis and treatment of a UTI.