After you file

some employers have a site where you can download the w-2. however, that is usually only for the current year 2023.