Many representations are after-the-fact affairs, meaning the lawyer is hired to review a client's past conduct and provide advice or a (criminal or civil) defense of that conduct. At that time, what's done is done. But that is not how all representations occur. In their role as advisers, attorneys are also asked to opine on a course of conduct before it occurs, as the client weighs its options.