 The other thing we encourage people to do if you are hiking in bear country is just make lots of noise, clap your hands, whistle, sing, because that lets the bears know that you're in the area and likely they'll just take off before you even run into them. If you do, the big thing is just stay calm, try to back up slowly and give that bear some space so that it can just move on and do its own thing.