A reward is proven more effective in teaching a desired behavior than punishment.
Never physically harm your dog.
It's better to teach your dog what you want him to do than to focus on what you don't want him to do.
The most important command you can teach your dog is the 'recall' --it can save his life.
Just like people, a dog, too, needs at least one hobby, class or extracirricular activity to properly maintain his mind.
Don't ever leave your dog unattended. Anywhere. Dogs are getting stolen out of backyards, from cars and when tied up outside public places. You don't want to know what happens to them.
Make sure you take off your puppy's collar when he's crated as a safety precaution.
Don't subject your dog to extreme weather conditions. Just because he's a dog doesn't mean he can withstand very hot or very cold temperatures.
Can't get the problem resolved? Neither can many other people. Call a professional trainer or behaviorist before you give up.