If you have filed your 2024 tax return it cannot be changed. You will have to amend the tax return that was filed.
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 current year tax return - https://ttlc.intuit.com/turbotax-support/en-us/help-article/tax-return/amend-federal-tax-return-curr...
If you have not filed the tax return, then click on My Info on the left side of the online program screen. You can delete the dependent.