The number one rule is to make sure your razor is clean & dry before you apply anything.
If you don't then you will simply trap the moisture underneath and that causes rusting to start.