Use pepper spray
Nothing works more effectively than pepper spray to the face. Some formulations are powerful enough to cause tearing, irritation, and even temporary blindness when sprayed directly into the eyes. This trick works best when your attacker is charging towards you.
Be safe and live a peaceful life!