did we do it wrong?

i had sex with this guy last night and it was my first time but not his. he kept getting his dick in me but then we'd start fucking and it would fall out and he'd have to keep putting it back in. is this normal? and will it get better?