Term: comeuppance
Example: craig kept talking shit about john that night, so when john kicked craig's ass the next day, craig got his comeuppance
Definition: (1) punishment or reward for one's actions