Sometimes there is nothing you can do.
me, my grandson and my wife were walking downtown this summer and this crazy homeless person decided to follow us and yell at us about nonsense.
Anyhow he was on the building side, we were walking pretty fast, he was chasing right beside me screaming, I waited till there was a spot where it indented like 6 feet for a door and shoved him as hard as I could just as we were about to pass, he flew into the alcove and I can only assume bounced off the wall.
I looked back a couple times and he stopped chasing us, so it worked, lol.
Normally I would have ignored him, but he was scaring my wife.