dogs generally exhibit poor behavior when they're are the "alpha" or the dominant dog in the pack. (guess what you're part of the pack) you need to let your dog know that YOU'RE the alpha. kicking the shit out of him isn't the way.
it's a bit more complex than a simple post, but best of luck.
