Starting antiviral medications as soon as symptoms arise, within 24 to 72 hours of the first sign of a rash (the earlier, the better), can shorten the duration and severity of your illness and ease the pain of shingles. Early treatment can also reduce the risk of complications.