Don’t.
It’s a great way to corrupt your relationship, leads to bribery.
Do you have to bring cookies to catch him in pasture? To put on a halter? Might as well place a sticker on your forehead that says KICK ME I’M LOWER.
Watch the video on the Oatman burros, especially the action from 2:22 to 2:38 where the burro is a bit too aggressive. Do you identify with that woman? Who’s moving whose feet?
You want your horse to see you as his leader not a walking talking vending machine.
You want him to come to you respectfully and pay attention, not frisk you with his nose.
Don’t set an expectation of food when it’s time to work.
If you want to give him carrots, cookies and apples, put them in his grain bucket.