A loyal pet wolverine. Assuming 4-legged bears with claws are your concern, and your wolverine's loyalty is doubtful, here's additional advice. What To Do If you see a bear, avoid it if you can. Give the bear every opportunity to avoid you. If you do encounter a bear at close distance, remain calm.
Attacks are rare.
Chances are, you are not in danger. Once the threat is removed, they will move on. Talk to the bear in a normal voice. Wave your arms. You may try to back away slowly diagonally, but if the bear follows, stop and hold your ground.