I'm hardly a bear expert. This guide looks pretty good to my untrained eyes: http://www.wikihow.com/Survive-a-Bear-Attack.

What I've read is that a bear feeling defensive for some reason is more likely to leave you alone if you don't act like a threat. A predatory bear needs to be convinced that you are not food; playing dead or running away will just cause you to become bear scat.