Which would be 'Learn self-defence/martial arts of some kind.' Not only does good martial arts training teach you how to work with the fact that your attacker may be physically bigger and stronger, but it's also supposed to do wonders for you psychologically WRT training your brain to regard yourself as not helpless when attacked.
Yet whenever there is a particularly newsworthy stranger-rapist on the prowl, the advice trotted out to women is always: stay indoors, make sure you have a male protector or at least a mob of female companions - it's never 'learn how to kick the rapist in the nuts and learn techniques that will stop you freezing with panic and feeling powerless.'