First time

So my boyfriend and I have been together for a while now, we’re both 17 and still virgins. We tried to have sex last week and it wouldn’t go in, like it didn’t fit? I felt like it was my fault, what do I do?