I ejaculated within ten seconds of masturbation. Will it be the same during sex?

If there is premature ejaculation while masturbating, will there be the same problem during sex?