Once a bear learns this association, it will become a nuisance and often must be killed. A bear will follow its nose. Don't attract bears with food or garbage. Keep your camp clean. Store your food, pet food, and trash in bear-proof containers and away from your camp or in a secure building.
Toiletries have interesting smells and can attract bears, too.
No matter how cute and cuddly they look, bears are wild and powerful animals. When a bear stands, it is not threatening you, just surveying its surroundings. Don't run if a bear approaches you. Running may stimulate the bear's predatory instincts. Make lots of noise and throw objects at it to distract its attention.