Shingles can develop as a result of a weak immune system, which can be caused by stress. Maintaining a healthy lifestyle and reducing your stress level will help protect you from getting shingles.