Sex question

How do you get sex to not hurt? My previous boyfriends didn't hurt but my current boyfriends hurts me. Because it's length. I want it to stop hurting as much so we can both enjoy it. Any advice?