Helpp pls

I 've know my ex for 6 yrs but we never really talked and out no where we started talking and he tell me things i wanted to here after we started dating and after I told him i was pregnant he told me he had a girl friend and I'm not sure what to do ... I trying to stay friends with him but it hurt me cause this is his 1st bby and he wants to be there but it feel like I'm the only one trying to remain friends with him but he deal with me when I act crazy with emotion .... I guess I can't make him under stand me or want me but how do I write a text putting it all out there on txt pls help I'm pretty bad at texting I get frustrated on trying to write some thing that I never send it