[grumpy old man mode]
a) Move around them so you don't have a collision
b) Drag your feet/cough so they know you're there, realise they're not looking where they're going and take avoiding action
c) Shout, oy, numpty look where you're going!
[/grumpy old man mode]