Manchester City manager Pep Guardiola believes recent results have provided a needed “punch in the face”.