Sex for the first time

I just had sex for the first time....it was so painful but it felt amazing but I'm still sore does anyone know how long that will be till it heals?