Why does stress weaken the immune system, and what can be done to combat this?

Why does stress weaken the immune system, and what can be done to combat this?