I would say that good judgement comes from considering the outcomes of your decisions.
This is not something that is a "talent": something that one is born with, or something that can be done without thinking too hard. Instead, one actually has to consider the outcomes of the decisions to be able to evaluate them.