What food help the immune system fight off an infection?

Nothing specific... There are no specific foods studied in the scientific literature that boost the immune system but eating a healthy diet in general is good for all aspects of health. A diet rich in fruits, veggies, whole grains, lean meats, and healthy fats will certainly make you feel good.