You enter the withholding when you enter the W2 and 1099. It will show up on 1940 line 25a and 25b.
2022 Form 1040 Line 25a for taxes withheld on a W-2. Line 25b for taxes withheld on a Form 1099