Sex advice

So my SO and I have been together for almost a year and we tried having sex for the first time (I'm a virgin he isn't) and he couldn't get it to go in I tried helping him but it still didn't work I feel very comfortable around him and I felt comfortable in the moment. Any advice?