advice please!

I’ve only had sex once in my life and that was about year 1/2 ago. I recently got into a serious relationship with someone and we had sex friday night. In the beginning everything was fine but towards the middle of having sex his dick would slid out and for some reason wouldn’t go back in? then at the end it would go back in but it took a minute. I know i’m still very tight with only having sex one other time but it was a bit frustrating for him and I ( and sort of embarrassing for me ) . Then the next morning we did it and the same thing happened but it kept slipping out more. then today ( sunday ) we had sex and it only slipped out / wouldn’t go in maybe once or twice. I’m wondering if i’m doing something wrong or what? i’m a bit insecure because I don’t have much experience😂 and we had a condom on all three times.