What happens when the wavelength of electromagnetic waves decreases?

the energy decreases
the frequency decreases
the magnetism increases
the frequency increases

the frequency increases.