If a bear attacks stay where you are (do not climb a tree), and keep still and quiet. To keep a bear from attacking, stay away from it and talk loudly or make loud noises.