Vaccination is the most effective way to prevent chickenpox. Because it is highly contagious, if you live with someone who has an active infection, you’re also very likely to get it. To prevent transmission outside your home, anyone infected should self-isolate until they are no longer contagious (until all lesions have crusted over). Then, wash and sanitize any linens or other items that have come into contact with chickenpox lesions.