The best way to prevent chickenpox is to get vaccinated against it. Before the vaccine, millions of people got chickenpox each year.