How do I protect exterior walls from moisture damage?

How do I protect exterior walls from moisture damage?