Do the medicines cure shingles?

No. Shingles is caused by the chickenpox virus which lives in a dormant state in the nervous system. The medication makes it go back to a dormant state.
No. Antiviral medications can help shorten the symptoms of shingles, but do not cure the infection. Shingles vaccine can reduce the risk of getting shingles.