Sex is painful

So boyfriend and I are in a happy relationship, been together for a couple of months (friends before) everything else is fine (fingers can ache a little and don’t really like it) but trying to have “sex” Is painful ... it aches and we just can’t get in without me being like nope and getting upset - we tried lube earlier and it was a little bit better but wasn’t great!

He wants the best for me and has told me to go to a doctor but as he’s my first time I’m just a little like... can it get better?!

I’d really just like some advice! Really worried and just want to be able to enjoy sex!