A 25-year-old woman presents to the clinic with a 3-day history of dysuria, increased urinary frequency, and urgency. She denies fever, flank pain, or vaginal discharge. She is sexually active and uses oral contraceptives. On examination, she is afebrile and her vital signs are stable. Urinalysis shows pyuria and bacteriuria. What is the most appropriate treatment?