These motions can affect many aspects of a case, such as whether evidence can be used at trial, where the trial occurs, and what charges will be prosecuted. The judge hearing the case decides pretrial motions after both sides have an opportunity to argue the motion in court.