Help me please

I'm 8 weeks pregnant I don't know what to do I just found out my man cheating on me , the girl told me every single detail over the phone , I just pack all my stuff and left his house we haven't spoken since then and the girl even let him know she told me everything and he said that's fine .
I feel so selfie I feel like a failure to my child , we will never be a family again and I honestly don't want to drop him/her off every weekend just to see her father it's just to hard for me I don't know what to do .. I don't want to have the baby idk I'm so broken ??