Yes, you should be careful. Herpes zoster can spread through the respiratory tract and contact.
The varicella zoster virus can spread through direct contact with herpes zoster lesions which have not yet crusted over or via the airborne route over distances of greater than 3 feet. The risk of airborne transmission is increased in people with disseminated (widespread) herpes zoster or who have localized herpes zoster but have a weakened immune system. Therefore, individuals hospitalized for disseminated herpes zoster infections or who have localized herpes zoster but an increased risk of disseminated herpes zoster due a weakened immune system should be placed on airborne and contact precautions to minimize the risk of transmitting the virus to susceptible individuals.
There are several shingles vaccines that reduce the risk of developing shingles or developing severe shingles if the disease occurs.They include a live attenuated virus vaccine, Zostavax, in use since 2006, and an adjuvanted subunit vaccine, Shingrix