can you get a restraining order on the person you're pregnant by?

He will not stop calling me after he lied to the police and had me removed from his home because I brought my child...  it's literally as dumb as it seems and at this point I do not want him contacting me ever again..