Definition
This idiom is used to express that a helpful or kind act should be repaid with another act of kindness or assistance.
I helped you move, so when you need something, I'll be happy to help.
Since you lent me your notes last time, I'll help you study this time.
He took care of my cat last time, so I plan to give him a gift to show my thanks.