You can either remove the razor from the bathroom to avoid moisture or simply apply vaseline after you're done shaving.