Shingles is a localized infection caused by the same virus that causes chickenpox. The rash and associated pain happens on one side of the body along the path of a nerve. Postherpetic neuralgia is a common complication in which the pain from shingles lasts more than a month.