###Human: Can cocaine get attached to sperm and affect the baby? ###Assistant: Hi. The sperms ejaculated are formed 3 to 5 days before the actual sex process. If you have never used them before and used it only a few hours before sex then there should be no problem of malformations in the baby. Neither is alcohol. I must emphasize though that as you might already know, cocaine use is significantly detrimental for your own health and must be avoided.