After you file

one source is your w-2s. For 2021 it will appear on line 25.  forms change from year to year so you'll need to read the IL-1040 to see for other years.