Most civil cases settle before trial. A settlement is a binding contract, so once signed it usually ends the lawsuit.