Idk what happened

So, I have had sex before but this hasn't happened before idk if I was nervous or what, but I was like too tight and he couldn't get in but part way, so we gave up after a while. It's been a while so maybe that's it idk. But how do I make sure that doesn't happen again?