If you believe your wallet has been hacked and you can still access it, immediately transfer any assets out to another wallet that only you control. Do not send any crypto assets to the wallet that has been compromised.
If you are still able to access the wallet, you will still maintain access to your profile on Foundation. Since you will need to migrate to a new wallet, you can follow these steps below to keep your username and wipe the compromised account of all of your information.
Delete your username so that it becomes available for your new account to claim
Delete all of your social links and verification
Follow the instructions outlined here : https://help.foundation.app/en/articles/5422664-my-wallet-was-hacked-can-i-migrate-to-a-new-foundation-profile