QinReno said:
Everyone should read info about not being a target.
-
https://www.nbcnews.com/better/health/seven-second-rule-how-avoid-being-seen-easy-target-ncna789226
-
https://www.psychologytoday.com/us/articles/200901/how-avoid-being-victim
-
https://www.webmd.com/a-to-z-guides/features/how-protect-yourself-against-crime
I like the ideas of: mace, airhorn, cellphone photos.
I don't so much like the idea of having a weapon, eg knife or stick, UNLESS you have been SPECIFICALLY trained in how to use it, as otherwise it would be fairly easy for someone to take it away from you and use it on you.
Some of us were ingrained as boy scouts to:
Always Be Prepared in Mind and Body. Plan ahead on what to do in various situations that may come up, eg car breakdowns, how to live on the road, safety.
A lot of the ideas in this thread are very lazy thinking and life mistakes, if not outright dead-wrong in the immediate term, but I can endorse this one. As a well-trained martial artist and instructor, I can vouch for the fact that an untrained tool may not only be useless but perilous to its wielder.
If you do not have the resolve to use a weapon, or even a psychological approach, immediately and without disruption, it's better to try something else. Chances are most attackers will be better versed in violence than you are, and to some extent that doesn't matter anyway because people tend to attack from advantage, be it the element of surprise, or from being hyped up to attack and crazed with adrenaline, or both. The average person noodling down the street thinking about his life or what her chihuahua is sniffing has no idea. You don't want to be caught flat-footed having to make a decision.
That is probably what will happen if things go sour.
Which, at any rate, they almost certainly will not, as the crime statistics make clear to anyone who is content with reality rather than paranoia and hyperbole.
Regardless, you must be comfortable with your response to violence. Not internet-comfortable, like 99% plus of the people you'll see here and elsewhere talking about how tough and/or experienced or world-wise/weary they are. Deep in your core, in a way nobody can tell you or evaluate for you, on a feral level, and in a way you'd better be honest about to yourself about. Fluid.
Lack of fluidity itself is a problem, and one that will sink most people in anything remotely like hard times. Few come close to fluidity at all, much less under pressure, and vanishingly few ever will be.
If you can, make up for it the best you can by keeping it very, very simple.
In other words, you'd be better off with anything at all you could use than anything fancy. You might be better with an apple or a dustpan in your hand than a knife or a kubotan. And at least nobody will arrest you for hitting a guy with an apple.
At least preferentially.