How to avoid a dog's attack with body language and energy