How long does it take?

Until sex starts feeling amazing and pleasurable rather than uncomfortable and painful? Newbie here