Does he need to pull out if he uses a condom?

I’m new to being sexually active so I was just curious. I have been on combination birth control pills for almost a year now but me and my boyfriend are not looking to have a child right now so we use condoms on top of me being on the pill. We have sex the whole time with the condom on, but when he comes he’s inside of me with the condom on? Then maybe like 5 seconds later he usually slowly removes himself and takes it off over the trash. Is this right or could I get pregnant? He’s older than me so I assume he has more experience. I’m just a little concerned now! Hopefully this makes sense. Any advice would be very helpful.

I just hear some people saying they use condoms during sex but then he pulls out before he cums, which is why I was slightly concerned.