If your two best friends aren't speaking to each other, you might find yourself trying to mediate a peace accord between them. To mediate is to go from one to another and try to make peace.
Mediate derives from the Latin medius "middle," and people who mediate are in the middle, between the parties. Other things that are in the middle can be said to mediate as well. Your mind can mediate between your two conflicting personalities.