Mediation is not a substitute for the services of a qualified attorney. Both parties are encouraged to obtain independent counsel during the mediation process and to have their lawyer review the agreement before it is signed. Even when the mediator is an attorney, he or she cannot give either party legal advice.