Discard to minimize the distance to tenpai
Shanten measures how many tiles away you are from tenpai (ready to win). A hand at 2-shanten needs 2 useful draws to reach tenpai. When discarding, always pick the tile that reduces shanten the most — or at least keeps the most future options open.