After you file

Yes, the Corrected W-2 will be the one reported on your tax return.  Disregard the old one. Or remove it from your return if it is already entered.  However, it is a good idea to keep both for your records.