deserve – meaning in Easy English

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