The spermicide didn't stay hostile to sperm for more than a few hours.
a cream or liquid that kills sperm, used while having sex to prevent the woman from becoming pregnant—spermicidal /ˌspɜːməˈsaɪdl◂ $ ˌspɜːr-/ adjective [only before noun]: spermicidal cream