Litigation can be long and expensive. As a result, many defendants want to take the first available opportunity to get out of litigation. This is usually by filing a motion to dismiss, asking the court to end the lawsuit for certain reasons that do not require further discovery or a trial.