Which is a more effective punishment?

Which is a more effective punishment?