Practise
Explore every choice with backtracking when you must, and spot when one greedy choice at each step is enough.