If your return has already been accepted, there is nothing you can do in the software at this point to change the address. The refund will be returned to the IRS if it is undelivered. If you return is rejected, you can change the address, fix the rejection, and resubmit.
You could try to contact the IRS and state tax authority to see if they can help you before your refund is processed. Also, you can submit a Form 8822 to change your address with the IRS. They may not receive it until the refund is processed, but the new address will on file with them. Go to this link for that form How To Change Your Address With The IRS.
IRS
Telephone Assistance for Individuals:
Toll-Free, 1-800-829-1040
Expect long wait
times.
Alternatively, this link has the local IRS offices. After going to the link, you can scroll down the page then click on the map for your location. Contact Your Local IRS Office
State Taxing Authorities
I need to change my mailing address to a p.o box how can I do that
@Demetris2029 If you have already filed your return, unfortunately you will not be able to update the mailing address for your refund. If you have not filed your return, please see the following TurboTax FAQ: How do I update my TurboTax account information?