Getting the recommended 7-8 hours of sleep can help make or break your immune system. Lack of sleep results in hormone changes that affect the immune system. Thus, quality sleep helps you fight off infection. Setting a consistent sleep schedule and reducing screen time before bed can help you sleep better at night.