To discipline means to instruct a person to follow a particular code of conduct or order. In the field of child development, discipline refers to methods of modeling character and of teaching self-control and acceptable behavior, for example, teaching a child to wash her/his hands before meals. Here, washing hands before meals is a particular pattern of behavior, and the child is being disciplined to adopt that pattern. To discipline also gives rise to the word disciplinarian, which denotes a person who enforces order.
"Without discipline there is nothing to be proud of". Richard L Kempe
However, usually the phrase "to discipline" carries a negative connotation. This is because of the need to maintain order – that is, ensuring instructions are carried out. Order is often regulated through punishment.