Fetching details from the dictionary...
paying for one's mistakes; getting one's just deserts; suffering the consequences (of one's own actions); reap what you sow