Punishing Your Children Can Be Helpful?

Punishing your children can be helpful? or controlled discipline; which is best? Some parents favor discipline, others promote punishment.