Wrongdoing

What are the consequences, when wrongdoing has happened?