After you file

???For an early withdrawal of some funds in an IRA or other retirement account??

 

You get credit for any withholding in box 4 of the 1099-R for......then the tax filing you are preparing now, is the final accounting for all your income including the $$ you took out.  It does all work out properly, BUT...the taxes you withheld may not have actually been enough to cover all of the tax assessed.  That depends on the entire totality of all your 2022 income and what tax bracket you end up in.

____________*Answers are correct to the best of my knowledge when posted, but should not be considered to be legal or official tax advice.*