Spermicide is put in the vagina no more than 1 hour before having sex. If you use a film, suppository or tablet, wait at least 15 minutes before having sex so the spermicide can dissolve.