Implantation confusion

How long can it take from having sex to implantation???