Cesc Fabregas announced his retirement from football after 500 games across Europe's top five leagues.