Because it is uncommon for bears to attack humans, make sure you are not in proximity to a cub or to food that the bear might consider as its own. If you are, then without diverting your eyes from the bear, move yourself out from between the bear and whatever it is protecting. When facing a bear, it doesn’t actually pay to try to convince the bear that the food item it wants is actually yours. The bear doesn’t have to justify its claim. It wins--period.
Once you are clear of the offending zone, if the bear continues to pursue you, drop to the ground, curl into a ball and play dead. It’s possible that the bear may, after the fact, choose to see what you taste like. If he does, its better to give up the pound of flesh while playing dead, then to give up your life as the result of spooking the bear for a second time. Predators taste funny to other predators, especially raw. It will be painful, but it may save your life.
Once the bear loses interest in you, wait until you can no longer see the bear before running away as fast as you can in the opposite direction. It is unlikely that the bear will come back or pursue you and even more unlikely that you will encounter another bear or wild animal that will seek to take a taste of you. Bind any wounds as best you can, using the clothes off your back if needed, while on scene. It’s better to be found naked and alive than clothed and dead. Stop the bleeding, if any, as soon as humanly possible.