Just wondering peoples thoughts

Hi so cut long story short my husband split up with me 7 months ago after 10 years 4 years of marriage and one 7 year old.i tried my best to make it work over the last few months but he wasn’t wanted it he wanted his cake and ate it 🤦🏻‍♀️🤦🏻‍♀️ silly me so we slept together 6 weeks ago and now I’m pregnant ( only just found out) I started dating a friend who knew the situation and that I might be pregnant had to go for a scan to confirm as levels where low anyway we have been hanging movie nights going for dinner my ex don’t know but I don’t know how to handle the situation with telling him and I’m not expecting for this guy to stick around when I start showing it’s a lot to take on I’m so confused on what I’m doing with my life atm 😪😪😩 I just want to be happy with my kids. (They both know I’m pregnant ex don’t know I’m dating )