UTI Questions Help

Do I need to go to the doctors to get a prescription for a UTI or can I just go to the pharmacy and tell them the prescription I need? I’m 17 and my mom normally takes care of all my “problems”