A 28-year-old man presents with a 2-day history of painful, grouped vesicles on an erythematous base on his penile shaft. He reports a tingling sensation in the area before the rash appeared. This is his first such episode. What is the most appropriate initial treatment?