How to keep metal from rusting

How to keep metal from rusting