If you e-filed the 2023 tax return it will be Pending until the IRS starts accepting tax returns later in January. Until then you cannot change anything on the return that was filed, nor can you amend the 2023 return since it has not been accepted by the IRS.
You will have to wait for the IRS to either Accept or Reject your filed federal tax return.
If the return is rejected you can make the necessary changes and e-file again.
If the return is accepted you will have to amend your original tax return. An amended return, Form 1040-X, can only be printed and mailed to the IRS if the original tax return was not e-filed. The IRS will take up to 20 weeks or longer to process an amended tax return.
Before starting to amend the tax return, wait for the tax refund to be received or the taxes due to be paid and processed by the IRS.
See this TurboTax support FAQ for amending a tax return - https://ttlc.intuit.com/turbotax-support/en-us/help-article/tax-return/amend-change-correct-return-a...