I need some advice PLEASE!!!!

To make a long story short.. Last night me nd my friend that I'm pregnant by was talking and he told me that he doesn't want the baby.. Note at 1st he was saying he wanted another child before I've became pregnant.. Note I had two miscarriages before but not with him with my ex bf.. My friend basically told me I had to chose between wanting to keep the baby or lose him.. If I keep the baby  he said he's not helping and doesn't want anything to do with the baby.. If I have a abortion which he said he will pay for he will stay and if he stay I will need to get on birth control with him if he stay.. I don't want to get a abortion I lost two babies and it really hurts my feelings.. Ladies what should I do ???