To punish and then reward. To correct someone by firstly applying a sanction or punishment and then to provide reward or encouragement. If my dog is barking in the garden, I tell him off and order him to come in. (The head slap part) then reward him for stopping the noise (the back stroke).