When someone is going through a lawsuit either as the plaintiff or as the defendant, there are a few ways a lawsuit can be resolved.