For starters I make sure I don't get anything wet other than the blade itself. After shaving, I wipe it down with an alcohol-soaked cotton ball and dry with a kleenex before leaving it in the living room. Not a good idea to keep razors in the bathroom.
For long-term storage, I use mineral oil (sold in any pharmacy as a laxative for like $2-3 per bottle).