You always want to try defusing the situation when encounter any attack on the streets. You never want to get into a physical encounter, they can be life changing occasions however, you should be able to recognize every time a situation starts to degenerate into violence. For more options for self-defense, you have a look at https://guarddog-security.com/flashlight-stun-guns.
This happens rapidly. If you feel like things are heading to turn violent then be first. This is a short what to do guide. It is not set in stone because there are so many variables, so they are some basic concepts from my experience that work.
The Range is one of the main concepts to understand in a self-defence situation. Controlling the range is vital. If you are to engage physically, then you need to make use of the best techniques for that range. Also, you must take into concern your own strengths and weaknesses. This is where good martial art training is a must.
Discovering what techniques suit you takes a little bit of time but good solid principles and repetition works. Getting fast, accurate and powerful is what you want to achieve. Being able to pull the cause at the right moment is a huge part of the skill set. In Chinese remedies they do not distinguish the physical from the emotional; it is all the same. You need to train the body and the mind.
The ranges you have are:
Clinch or grappling distance