A Good Parent is devoted to the child and to the disciplinary process which consists of instructing the child, affirming proper behavior, and correcting misbehavior.
Devotion of Parents to the Discipline Process:
Instruction + Affirmation + Correction = Well Behaved Child
The following links provide more details about how you can do this for your child.
Here is how the discipline process is used in the Authoritative style of parenting: