Sex help me

I have really bad anxiety I’ve been diagnosed with a few and I’ve been with my boyfriend for 2 years, whenever we have sex he always uses a condim and pulls out yet I still always worry about being pregnant what can I do to help.