Why do you only get chickenpox I time?

Chickenpox is caused by the varicella-zoster virus. Once you have had chickenpox, your body develops immunity to the virus, so you are unlikely to get it again. However, in some cases, the virus can reactivate later in life, causing a different condition known as shingles.