To do a favour
Essential collocation. Hacerle un favor a alguien = to do someone a favour. Often used in the phrase ¿Me puedes hacer un favor?
Can you do me a favour?
I did him the favour of driving him to the airport.
—What do you need? —Do me a favour and keep this.