Earlier is better: On takeoff, after the gear is up, I apply the crosswind correction (wing down, top rudder) for landing, based on forecast winds, and hold the correction for the rest of the flight. I end up getting kind of tired and burning up a lot of gas, but it pays off because I don't have to worry about it on the approach. Unless the winds have changed, of course.