my boyfriend of 3 years has left me for my best friend.

I am 8 months pregnant with my little girl ( first baby) her dad has as from 15 minutes ago left me for my best friend. I don't know what to do. The best of it all is that she is pregnant too! I asked him if it's his child and he said " a very high chance" can someone please give me some advice I feel so alone. If it wasn't for my pregnancy I don't think I would be here anymore.