Birth certificate question

I want to make sure the father is not on the birth certificate.

I have a protective order right now against him but I am afraid if he shows up he will try to sign it and Honestly i dont want that. I rather him go through court and establish paternity.

How does the birth certificate process work? Is it done in the hospital