The first steps a new team leader should take

Starting to lead a new team is always difficult and tricky, regardless of whether it is your first time in a management position or you are an experienced leader who has taken over a new team. What are the first steps you should take as a new manager of any team so that it quickly functions in an efficient way?