I learned self-defense moves against weapons in tae-kwon-do.  However, if you aren't really sure of how to use them, you should just do nothing unless you got some plan B.  One idea might be some hand gesture to someone coming in from behind, someone that could knock the guy/gal over the head.