As long as you feel comfortable, it doesn’t matter how you shave, i.e., before, during, or after the shower.