How should exhaust fans in toilets be used?

Run the exhaust fan only when needed. Always switch it off afterward, especially at night.