Good judgement comes from
This is really open ended but here is a possible answer logical thinking and adequate assessment of the situation