Discipline is a teamwork thing. Dogs certainly aren't born having it. If you aren't disciplined, your dog won't be disciplined, either. Observe the spontaneous way in which puppies take on life. A dog who sets it's own priorities can soon become the neighborhood nuisance.
Most people are very disciplined about their dog's feeding, bathroom and walking schedules.
Training should be tackled in the same manner. Be kind, consistent and hold to a regular training schedule. You'll both be better off for it. In contrast, punishment is most often something verbal or physical that happens to the dog as a consequence of the dog's behavior. If you choose to use punishment in a training situation, you need to be aware of a number of things.