At the very least 1500' above airport level, drop gear so that by the time the gear is down and locked, you can then select 25 or 30 flap, and by 1000' you will be at Vref +5 or slightly more in landing configuration (an airline requirement to aim for)