Birth certificate

I'm putting this on anon just because 85% of the ladies on here are judgementel (sadly)
So the father of my baby and I aren't together anymore,mostly because he's an aggressive person and I don't want to be around that especially while I'm pregnant. 
What happens when I don't put him on the birth certificate? Does he not get custody until he takes me to Court or...how does this work??