Yep, if your party does not have strong ranged attacks then you'd better run. Split up, find cover, find somewhere where the enemy can't fly. At worst, hope that one of you manages to get away while the dragon is busy melting the rest of you.
Dragons are tough, you don't want to meet them where...