Former Liverpool and England captain Steven Gerrard announced his retirement after confirming he would not be returning to play for MLS side LA Galaxy.