I'm a Virgin

I am a virgin and my boyfriend and I tried to have sex, but I'm too tight and he couldn't get in. What is wrong? Or what can I do to make it work?