Kompany believes Man City will learn from their mistakes this season