deserve – meaning in Easy English

You have done a good thing so you should receive a good thing in return. Or you have done a bad thing and you should receive punishment