There's no method to completely prevent shingles if you have already had exposure to VZV. Researchers say that getting the chickenpox vaccine may provide protection against both chickenpox and shingles before age 17. In a 2019 study, children who had the chickenpox vaccine were 78 percent less likely to develop shingles than children who hadn’t had the vaccine.