Washing before shaving removes oils from the hairs, which allows the lather to better soften them. I think a long hot shower is best, but a nice wash and hot towel is also very nice.