Spermicide contains sperm-killing chemicals. Some contain nonoxynol-9. This can irritate the tissue in the vagina and anus. This irritation can make it easier for the virus that causes HIV to enter the body. It may increase the risk of getting HIV if your partner has the virus.