If your total federal tax liability for 2023 is less than $7500, say $6000, you can claim $6000 from the tax credit. You can't carry over any unused portion of the tax credit to the following year.
If you estimate your income will exceed the single filing $150k or married, joint filing $300k limit make sure you max out your 401k and health spending account (HSA.) Unlike a flexible spending account (FSA) money you earn that goes into a HSA does not have to be spent by the end of the year. With a FSA you lose any excess unspent money in the FSA at the end of the year. Money in an HSA is never lost, can be used to pay for future medical, dental, prescription and other health care expenses. Money you contribute to a 401k or HSA will reduce your taxable income 1:1.
If you are retired, your income may not be enough to fully qualify for the $7500 tax credit. You can convert all or part of a traditional IRA account to a Roth IRA. The money you convert, put in the Roth IRA is taxable as ordinary income for the year, could enable you to qualify for the full $7500 tax credit.