Although many foods provide beneficial bacteria that can help your immune system, it may not be enough.