Positional decisions
A pawn move you cannot take back
Play h3 only when stopping the pin is worth leaving a permanent pawn hook. Check whether the opponent can reach it with a pawn.
Worked example
Position in text
White to move. White: knight f3, pawn g2, pawn h2, queen d1, bishop f1, king g1. Black: bishop c8, king g8, pawn h7, pawn g6.
FEN: 2b3k1/7p/6p1/8/8/5N2/6PP/3Q1BK1 w - - 0 1
With the queen on d1, …Bg4 would pin Nf3 to it: if the knight moves without a tactical reason, …Bxd1 wins the queen. h3 controls g4 in advance. But …g5 prepares …g4; if that advance is safe, it can attack Nf3 and make contact with the pawn on h3. Decide whether avoiding the pin is worth giving Black that hook.
A plausible mistake
Do not use h3 automatically because a bishop could pin a knight. Ask whether the pin would actually cost anything before changing your king cover.
Try it yourself
Position in text
White to move. White: knight f3, pawn g2, pawn h2, queen d1, bishop f1, king g1. Black: bishop c8, king g8, pawn g7, pawn h7.
FEN: 2b3k1/6pp/8/8/8/5N2/6PP/3Q1BK1 w - - 0 1
Does the same move h3 let Black reach g4 in one move from g7?
Check your answer
No. A two-square …g5 is possible if the route is clear, but reaching g4 takes another move. h3 still creates a hook; count the time available to respond rather than declaring it harmless.