The present invention provides a novel pharmaceutical composition and method of making the same. The composition comprises an effective amount of an antiviral agent and a local anesthetic. The antiviral drug can be sorivudine. The local anesthetic can be lidocaine or its pharmaceutically acceptable salt. Herpes virus infections in humans can be caused by different human herpes viruses, the most common being herpes simplex virus types 1 and 2 (HSV1 and HSV2) and varicella-zoster virus (VZV).