Sex not going very well

The first time my boyfriend and I had sex was a couple weeks ago and it wasn’t very good, we had a time limit, I was tense and it just really hurt. Tonight we tried again (no time limit) . It didn’t hurt as much but it didn’t feel good per se. we tried two positions: me on top and him on top. It hurt more when I was on top but even then when he was on top it didn’t feel good. Movement also just felt awkward and almost forced. Any advice at all about better positions, or just really anything in general. We both just really want to get it right and enjoy it as much as we can