When the wavelength of a wave increases, what happens to the frequency of the wave?

I already know if the wavelength increases, the frequency decreases, but how does that happen exactly?