Getting 7 to 8 hours of solid sleep each night helps to refresh the immune system through the production of cytokines, proteins that the body needs to counter stress and infection threats. So, good sleep becomes especially important during the cold and flu season.