The word for "correcting a wrong that was done" is
the word you are looking for is mistake
Are you looking for prosecution?