Clearly walking the other way doesn’t always work. Not when they target you and chase you down.
That’s what defensive equipment is for.