“I am and will be miserable”

I just found out I’m pregnant and I have not been with the dad that long. I told him right away and he immediately told me this is not what he wants and he just knows he will be miserable. Do I just give him time to process this huge life altering situation? Do I tell him he needs to be in or out before I’m to far along? Help!