Couples can agree to mediate their case at any point; however, in many states, mediation is required by the court after a lawsuit has been filed. For example, North Carolina requires couples to attend mediation before a trial on child custody or equitable distribution.