Sex Tips

I've had sex twice now & it hurts, like I can't even properly do the cowgirl position.

We use lube and everything,

I'm just wondering whether it will get easier over time or if anyone has any tips?