If you are the person giving out the punishment in the dream, then the meaning is to show some empathy towards others. If you have to discipline people in waking life, do so with more sensitivity and empathy.
If you are a witness to others being punished in your dream, it means that in waking life, you may be called upon to give evidence because you were an eye witness.
]]>