borrow= to take something from someone else for a short time
e.g. Can I borrow your pen please?
lend= to give someone something for a short time
e.g.: Could you lend me your pen?
It depends on whether the speaker is the giver or the taker. I hope this helps:)