After you file

If the only amount that changed on the corrected W-2 were the wages in boxes 3 and 5, there is no need to amend the 2022 tax return.  Those amounts are not entered anywhere on your federal tax return.