Does a condom stop everything?

Hi, after my first time last week, I’ve been feeling a bit paranoid and just wanted to clear up this question. We used a condom and it was used properly, no tears or breaks, and he did not pull out. Is a condom meant to prevent ALL sperm from going through if used properly? Thank you for your help!