Definately call your courthouse or DV agency. I got a restraining order at the beginning of June. Honestly the DV woman was a godsend. She knew exactly what I needed to do.
My ex had gotten really angry before the order, so many of his texts were threats, which made the order much easier to get. I also had to make the statement that I was in fear and I had reasonable reasons to believe I was in danger. Laws very but there are people there to help.
Document everything. Not that you want him to turn nasty, but it would work in your favor if he would go a little bit crazy.