Person looking through window

When is the best time to apply deodorant for maximum effectiveness?