Please help

I’m posting anonymously because I really don’t want any backlash. My ex raped me and I found out I was pregnant in January. I just did the sneak peek gender test and results came back telling me it’s a baby boy and I had a mental breakdown. I am so paranoid and worried it will end up just like my ex, and I’m not sure if I will be the best mother knowing the baby could look just like him. What he did to me was extremely traumatic and horrible in such a short time. I really don’t know what to do.