Manchester City manager Manuel Pellegrini has warned Joe Hart that he is not guaranteed a place in his first team.