Voiding a Check

How can I void a 2023 check before processing W-2s for 2023 if it is already 2024?

To reflect the correct information on the W-2, use a 2023 pay period ending date and check date to process the check.