Study on manipulation of punishments in public-goods dilemmas demonstrates that punishment on free-riders can maintain the cooperation behavior among the community. Previous researchers found that the building up of social cooperation norms benefit from the punishment system, in which costly punishment, altruism punishment and third party punishment, etc., provide reasonable explanations to indirect reciprocal. Recent empirical researches illustrate some new forms of punishment, such as selfish punishment and antisocial punishment. However, it was presumed in these researches that revenge from punished free-riders will prevent cooperators to punish them anymore, which would decrease or even dispel cooperation behavior. The necessity of the existence and the value of punishment have been validated by justness theory, moral sentiment model, and culture-gene co-evolutionary model, however, framing effect still exists in the function of punishment. The positive and negative effect of punishment should be further explored by introducing some mediating variables, such as altruism, trust, reputation, culture, and reputation, etc., which could also provide new vision to psychological mechanism of cooperation.