pat (one) on the back

(colloquial) praise (one) for something he has done.