Shingles, also known as herpes zoster, is caused by the reactivation of the varicella-zoster virus (VZV), which causes chickenpox. If you have never had chickenpox or been vaccinated against it and are exposed to VZV through someone with shingles or chickenpox, you can develop a primary infection with VZV that leads to chickenpox rather than shingles.
Having HSV-2 (genital herpes) does not increase your risk of developing shingles if you've never had chickenpox before. However, being careful around individuals who have active cases of either condition can help reduce exposure risks. It's always best practice to consult healthcare professionals for personalized advice regarding any potential health concerns related to viruses like these.