The trays automatically detect the size of plain paper. For specialty media like labels, card stock, or envelopes, do the following:

From the home screen, navigate to:
Settings > Paper > Tray Configuration > Paper Size/Type > select a paper source

Set the size and type of the specialty media.