how long till sex feels good

How long does it take for sex not to be painful? I've had sex a few times now and it still kills!