My problem was with the fogged up mirror after a shower. I tried some 'solutions' (spraying mirror with a fog proofing liquid, separate showering room etc) but eventually went back to shaving before showering
Antifog coatings from any scuba supply shop help, but one really effective method is just to aim a hair dryer at the spot you need clear. Not only does it get rid of fogging there, it prevents new condensation from forming because of the residual heat.