If the frequency decreases, then the wavelength increases - assuming the speed of the wave doesn't change. In general, the product of the frequency and the wavelength is equal to the wave's speed.
When the wavelength decreases the frequency increases.
Wavelength lambda and frequency f are connected by the speed c of the medium.
c can be air = 343 m/s at 20 degrees celsius or water at 0...