If I cannot get to court while its in session, how else can I get a restraining order?

During evenings, weekends, and holidays, you can go to the police department to obtain an emergency restraining order.