There are treatments that prevent corrosion, can be done with your annual for instance. It's basically like covering your complete ship in and out with something like WD40 but more expensive and approved for aviation usage.
Google Corrosion X or check here:
CorrosionX Aviation