First time

I'm a virgin and I'm really scared to have sex, especially bc my boyfriend has had sex before. I just don't know what to do. And I'm scared it will hurt.