Accidentally pregnant

Mi
Okay y'all this is a long story(short version). My boyfriend and I have been dating for 4 years and moved in together about a year and a half ago. Well recently he asked me for a "break". Obviously I was devistated. Well he had been going out with his friends and I never moved out bc I love him and still want to be with him. He came home one night and I asked for sex, straight up told me that it won't change anything, but I proceeded anyways. We had unprotected sex for the first time but he pulled out and I took the plan b pill afterwards. For the next two weeks I tried everything for us to work it out but he just said he needed time to himself. He basically treated me like I was nothing to him for 3 weeks. Other then him still telling me he does still love me, kiss me on my forehead and hugs me when I'm crying. I was 5 days late for my period which is not unusual but I took pregnancy test anyway 2 negatives 2 positives. I finally got him to talk to me about it and he comes home with this test I take it and this is the results. I'm 19 didn't want to be pregnant and stressed out to the max! He says he wants to try to work stuff out but now I feel like I can't trust him to not just get up and leave one day. He says he don't feel like what he did was wrong bc he didn't sleep with anyone else or anything. I'm worried he's not mature enough to work this out with me. Or that he only wants to work it out bc of me possibly being pregnant. Any advice helps but please no hate.