The correct answer would be eating food with proper nutrients.
Nutrients help to boost the immune system and keep the body healthy and functioning properly. If we have a good immune system then our bodies can fight off infections. It's important to eat the correct foods to get enough nutrients into our bodies.