This applies to weekend golfers and PGA and LPGA Tour professionals alike. So regardless of skill level the goal of every golfer should be to build an escape strategy that not only gets you out of trouble but gets you into a better position than you would have been in had your last swing not been a bad one. This keeps the damage caused be a poor swing to less than a stroke.
Most also spend a majority of their warm-up and practice time grooving or rehearsing their full swings on the range; they may manage to get a few putts in but then it’s usually off to the course for an adventure-filled 18.
The two keys to achieving this goal are to a) make sure your clubhead makes clean contact with the ball and b) select a safe escape route to your target that’s ahead of where you would have been with a better swing.