help!!!

me and my boyfriend were getting hot and heavy and we decided to have sex. so I got some condoms put it on and.... it wouldn't go in. idk why this happened, was he not hard enough maybe idk. so help and advice greatly appreciated x