It pays to avoid short-term decisions when it comes to investing