1. Stop transmitting start and stop sending photons. This is typical morse code like transmissions of information. By varying the pattern of starts stops you vary the information sent. Also used in digital communications over radios, modems, and pulse dialing over radio/phones.
2. Change the frequency. You use a pattern of shorter and longer wavelengths of radio waves higher and lower energies of individual photons to transmit information. This is frequency modulation