@jassikm I’ve dealt with the same situation.
My suggestion is you do not put him on the birth certificate at the time of birth.
A) if you aren’t married he needs to sign and affidavit stating he is the father when they come to register the baby in the hospital after it is born. If he is not...