Boyfriend - break up - pregnancy

I’ve been seeing a guy for a few months and everything seemed to be going great. When things were good they were great, but when they weren’t they really weren’t. We got along good most of the time but he would always get in his own head, compared things to his past hurt, although never admitted I feel as though he was very, very insecure. Over a day or two things were abit iffy, he wouldn’t message me, late to reply or less talkative. Then he said we should have a break and I told him okay but make that a breakup not just a break. A day later I found out I’m pregnant and now I have no idea what to do. I sent him a message not knowing if he’s blocked me or not. I feel as though as good as it was, I don’t want this and I probably won’t go through with the pregnancy. If he does try to come back i know it is only for the pregnancy news and it isn’t for the right reasons. Im just so hurt im going through this right now alone, and that I finally see things clearly. We were using protection btw,