Having sex

How long should you be dating before having sex with someone?