Step one: shout very loudly
Step two: pick something up....or even pretend to pick something up
Step three: if you have a rock throw it, if you have a stick swish it about
Step three: carry a knife.....I have a small, OTF knife. If you are attacked sticks, rocks are totally useless.....you be in shock and bleeding out before you can land a blow.
The only way to stop a real attack is with a knife or a gun.