Many golfers can not get into a proper set up position and posture because their hamstrings are too tight to allow the straightening of the back, so before you tee off or practice work on stretching out your hamstrings so that you can work the golf swing properly around a straight back
If you are practicing and start hitting bad shots then step away from the ball and work on re-establishing solid contact with a few bump shots in order to get the feel for center clubface hits
Getting the right direction when putting requires that you have your head, your club, your eyes, your stroke and your intent all going in the same direction and that direction must be to the high point of the break