My dog is having behavioral problems. My family and I are taking him to get training. He is always whining and having anxiety it seems like. I don't know what to do about that. He looks like he wants to run away. Which he already did once but now he's acting very strange after. He's jumping up at the door. Is there a way to stop him from acting like this before I take him to dog training. I play with him all the time and give him lots of attention. He's a shar pei mix.