When is the best time to get a flu shot?

When is the best time to get a flu shot?