Now I know getting a new dog can be a frightening thing sometimes, but you shouldn't give up hope just because the little guys are being difficult. The art of dog training has gone on for thousands of years, and with a little dedication, you'll have those dogs following you in no time.
If you have puppies, you really need to start a stable system of positive reinforcement to train them. Remember, what you teach them as puppies will be with them forever. Keep your lessons simple and fun, but be sure the know who's the leader. Having them look up to you as the alpha dog will keep them well-mannered and calm and it will even cause them to live longer stress-free. So be compassionate and not forceful, but always make sure they know what's wrong. Your new dog obviously won't know everything you want right off the bat, and it will make mistakes. Just go with it and keep working, this stage of a dog's development is key.
Every dog can at some point develop some unwanted habits. I suggest you find a dog training guide if you want to find a solution for your specific problems. In general:
Be consistent. Dogs can't read your mind, but if you keep sending them the same message, they will learn. They always follow the alpha dog of the pack (you) so long as they know who that is, so make sure they understand that you're the one pulling the shots. It can be hard to be forceful with a young dog, but it'll all be for the best in the future.
Always have the right reactions. If your dog does something you don't like and you don't do anything to discourage that, you may be inadvertently encouraging it. If your dog does something wrong, tell them it's wrong. Don't let them get away with things that you don't like, they might end up repeating it forever.
Obedience training is very important. Whether or not your dog is trained to listen to you will affect his entire life. Don't put it off; if your dog doesn't listen to you, spend a few hours every day training it. Inaction and negligence will only make things worse in the long run. Throughout your training, be respectful and kind to your dog and it will do the same.
Good luck. -This troll presented by Dunkeroni