The procedure for an ex parte application depends on the state. In some states, you submit an ex parte application or motion to the judge along with your affidavit and any exhibits you want to attach. The purpose of this application is to convince the judge that you, as the petitioner, need an immediate order because of an urgent situation. The stronger your affidavit and supporting documents, the more likely you are to have an ex parte order granted.In some states, the judge will review the application and supporting documents and either grant or deny the ex parte order on the strength of the documents without meeting you. In other states, the judge will want you to appear and will ask you questions to determine whether your situation is a true emergency.In many states, you present your ex parte application to the judge the same day you file it in court. The clerk will ask you to wait in the courthouse until the judge can either review the papers or until the judge wants to speak with you.In other states, such as California, you must give notice to the other party the day before the emergency hearing or there's a risk of having the request denied. California's requirement of notice is unnecessary, though, if you can prove there's a serious risk of violence if the ex parte order is not granted.