Pregnant and potential guy

I am pregnant 5wks. I’ve been venting to a guy about my horrible relationship for months. I tried so hard to fix things with my SO who only treated me worse until I left a week ago. The guy who is just a online friend that I never met is soo nice.. since I left he has asked many times if we can meet for coffee or tea, dinner... I know I’m fresh out of shitty situation but I’m ready to move forward as I’ve suffered enough. When is it appropriate to tell the guy I’m pregnant ?!