The infection—which can trigger a painful, blistering rash—is caused by the chickenpox virus. Here's how you can get it and how to prevent it.