A poor diet, lack of exercise, insufficient sleep, and high stress can weaken the immune system