Tsamotas
The answer to your question depends on what type/class of aircraft your flying. If its a single engine aircraft i would be aiming for the runway ASAP I would also take out the flap if if was a fair distance away. If i know I can glide to the runway i would leave the flap out. This is where Airmanship comes to play.
Multiengine aircraft are easier to deal with.