If there is domestic abuse a restraining order can be obtained from a judge the next business day after you go to court or sometimes even on the same day. If you have children, it is an especially good idea to go to a lawyer first.
Although filing a restraining order is free, an attorney may help you organize your paperwork and materials for the case. You may be allowed to bring a witness to testify to the abuse and it is a good idea to have some proof of violence.