Alright, well he is the father of your child.. So i'd advise you to try and work things out with him. That doesn't mean getting back together with him, but let him know you'd appreciate him being involved with his child.
If he still being a bastardd, then yes. Leave him, you dont need him I promise.. There are millions of single mothers out there. You can do it!
How far along are you?