Regular cleaning and using a dehumidifier or exhaust fan to control humidity can help prevent your mirror from fogging up.