Help please

I tried having sex and we did a lot of “warm up” and yet when he tried to put it in my body wouldn’t let him. I’ve had sex before, but it’s been a few years. Any advice to help get my body to let him in?