How to tell a coworker to stop talking to you?

He goes out of his way to talk to me when I’m trying to work and get tasks done. I don’t know how to tell him I can’t talk and need to work without sounding rude 😂 please help !
How to tell a coworker to stop talking to you?
Post Opinion