A balanced diet, regular exercise, adequate sleep, and keeping up with vaccinations are critical components of a healthy immune system.