Most of the delay sprays are formulated with a mild anesthetic chemical called Benzocaine. This gets absorbed into the penile tissues and in turn those tissues will control ejaculation.
In simpler terms, benzocaine works as a relaxant for the nerves in your genitalia and asking them to slow down. And thus you can enjoy the ride for a longer time.