Use a frame saver, twice a year or whatever the directions call for +1.
Let it dry, skip the ride the day after.
Clean the bike constantly or use a car wax ...either way, turn the bike upside down each time.
...but if you have to leave it outside, you didn't mention what the situation is ...get a cover.