Sex while pregnant- pull out or no?

Sami
I just found out I'm pregnant! And my doctors appointment is still a week away so I'm guessing I'm only 4-6 weeks. Is it safe to have sex while pregnant , and is it safe for him to not pull out? I just have pregnant brain right now and everything is concerning me so I need some advice!