You can remember the meaning of 惩罚 with this easy mnemonic:
What is the penalty for breaking a window at school? You have to punish (惩) the bad kids and punish (罚) them enough so they won't get into trouble again.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.