Doctors often prescribe oral antiviral medications for the treatment of shingles, including valacyclovir, famciclovir and acyclovir, according to WebMD. These medications work to reduce the pain and duration of shingles symptoms. Pain medications, such as aspirin, ibuprofen and acetaminophen, sometimes also help.
When treating persistent shingles cases, doctors sometimes prescribe antidepressant medications, such as amitriptyline, and anticonvulsant medications, such as pregabalin and gabapentin, to treat the symptoms of shingles, notes WebMD. Prescription-strength pain relievers for long-lasting shingles symptoms include medications containing codeine. Health care professionals often recommend topical anesthetic medications containing benzocaine or anesthetic patches containing lidocaine for symptom relief.