Michael Carrick has opened up about his battle with depression and how it almost led to him quitting football.