I will have a tax credit in 2024 so I would like to reduce my 2024 federal withholding taxes. What is the best way to figure out this amount?

I currently get a tax refund every year but want to be able to use the tax credit in 2024 so I want less taxes withheld.