Doing Pregnancy Alone

So I need some help. Me and my ex have been on and off the last year and a half. We technically have never been in a relationship but we’ve been really close. Well I ended up getting pregnant. Now he has said he didn’t want it but the entire time we’ve been messing around I have told him and he has known I’d never get an abortion & I wasn’t on birthcontrol. Out of no where he just stopped pulling out and I ended up pregnant. & yes I have told him to stop prior to getting pregnant. Now I’m pregnant and he has said it’s not his & that I shouldn’t even tell my son anything about him. I’m due in January and I don’t want to be one of those moms who throws him on child support because I already know he ain’t gonna pay it. But I know it’ll leave consequences for going unpaid. I also don’t want to give him any legal rights when it comes to visitation. But idk if I’d have that option if I do get the dna test and stuff. What should I do once baby is here? Any advice? Or should I just take it as it is accept I got pregnant by a deadbeat and just carry on with my life? I’m not a first time mom but this is my first time dealing with a deadbeat.