How do I apply my refund to a balance owed from a previous year?

We've been making monthly payments to the IRS, but would like to apply the refund to the balance from 2023.