Check every legal finish and every opponent finish before spending your turn elsewhere.
Take an available finish
Teal on e8 with an open edge to e9 can win now. The opponent does not get a reply after that move. Any legal move onto the goal row is sufficient, including a straight or side jump that lands there.
Do not focus only on the square directly ahead. A pawn near the edge may be able to reach another goal square around an opposing pawn.
Stop a threatened finish
If the opponent can finish on its next turn and you cannot win now, inspect legal defensive walls. A wall must block every immediate winning destination, not just one visible route.
Check the open-path rule before relying on the placement. The wall that appears to stop a finish may be illegal if it cuts off the opponent's last remaining route.
When both wall reserves are empty
With no future walls, calculate the race using legal pawn moves and turn order. Far-apart pawns with equal distances favour the player to move. Nearby pawns require extra attention to jump timing.
In the illustrated position, the players use opposite side files and each need two moves. There is no encounter to disturb the count, so teal's first move is decisive.
When only one player has a wall
A remaining wall may reverse a close race, but using it spends an action. Recount both routes after each candidate and check the opponent's quickest reply.
If moving already finishes, the wall has no value over that win. If no move finishes, compare a wall with your fastest safe advance rather than assuming the last wall must be spent.
Try it on the board.
Practise with Pathz, an independent Quoridor-style browser game.