Many people play golf by hitting the ball, finding it, and figuring out what to do next. They make golf a “this shot” game. Golf is better played by thinking about the shot after this one.
An easy example to make this clear is the second shot on a par-5 hole. You can either hit the ball as far as you can to get on the green with whatever is left over, or you can figure out what shot you want to hit into the green, then play your second shot to set up that one.
The general rule is to play this shot so as to make the next shot as easy and productive as possible.