A 19-year-old man is evaluated for a 4-day history of dysuria and pruritus in the area of the meatus. Scant urethral discharge is noted. He has recently become sexually active with a new female partner. He takes no medications and has no known allergies.

On physical examination, vital signs are normal. The remainder of the physical examination is unremarkable.

The results of a nucleic acid amplification test on first voided urine are positive for Chlamydia trachomatis and negative for Neisseria gonorrhoeae. Urine culture reveals fewer than 10,000 CFU/mL of Escherichia coli.

Which of the following is the most appropriate treatment?