Can you get pregnant with a condom?

I have bad anxiety about sex, but last night my boyfriend and I had sex, he didn’t finish in me and the condom didn’t break. What are the chances of still getting pregnant?