Return the compliment

To pay a compliment to someone who has paid you a compliment.

I returned the compliment to my colleague when he began to praise my work.