Long distance relationship

My boyfriend lives far away and I've recently met him in real life. We tried having sex but it hurt too much, vagina and ass. I wasn't ready, how can I be more self confident? Is there a way I can get accustomed to a little penetration?

Ps my boyfriend didn't pressure me at all. He stopped when I told him no