If you want a well-behaved dog, you have to teach it how to behave. It's often advised to train the dog frequently, for example to have three short training sessions a day. On the other hand, if you go to training classes, they are usually once a week (though of course you can practise at home).