Do condoms always work?

My boyfriend and I had sex and we used a condom and he came in the condom while he was still inside me, all the cum was in the condom. I don't think I have anything to worry about, am I right?