1) Never put your tools away dirty or wet.
2) For long-term storage, you can wrap them in a cloth sprayed with rust inhibitor, like WD-40.
3) Invest in a dehumidifier.
4) Use silica gel packs (I can only recommend this as a last resort — those things are environmentally toxic as hell).