I can’t avoid it because it’s what I do for a living, but most people like to avoid litigation. Philip Greenspun has some worthwhile observations on how to avoid litigation. He’s not a lawyer, just a really smart guy who teaches at M.I.T.
P.S. If you're a practicing lawyer, check out this Law Practice Assessment . After answering a few questions, you'll get detailed recommendations for improving five key areas of your practice.