<u>Right</u>, as a verb, can be defined as: <em>"restore to a normal or upright position"</em>.
That is the only thing that makes sense in this context. The attorney wants to correct the bad things done by the client.
Wright is a noun. Write means to <em>"mark (letters) on a surface)"</em>. And rite is a noun correlated to the idea of rituals. Non of those make sense in the sentence.