Custody Question

I just had my baby a week ago and things have not always been the best with my babies father. For one I am in high school still (senior), and he is a drop out who doesn’t have a job and no car and has a lot of trouble with the law. I for one have no criminal record or anything of that sort. And I have a car and I have worked most of my pregnancy. I was just wondering if there is any way that he would get custody over me if i took it that far to try to get full custody, to where I would be the custodial parent. Please if anyone has any advise over this it would help me a lot. .. he has also been physically abusive towards me in the past, charges were pressed but they got dropped cause I was stupid and got them dropped. i don’t want him to be able to take my little girl.