Co parenting whilst fresh breakup

I know not to make any rash decisions right now because it’s all still so fresh but my baby will be here in 9 days (due date) and I can’t even think of being face to face with him right now. I’m really regretting him being the father to our child and I feel so selfish for thinking so. I know I need to put my feelings aside but I feel like I have the right to put some boundaries there. He’s been in and out of this pregnancy as he’s pleased and I don’t want him to do the same when she’s born

Any advice??