If your keys become compromised and your need to change it use this guide as an outline. Please be careful in every step as you might lose access to your account otherwise. This guide comes with no warranty.

Hint: If you don't care about your existing account, or are unsure about switching keys, you can create a new account on a secure wallet and transfer all funds from the old account.

If you have Cloud login:

https://github.com/bitshares/bitshares-ui/wiki/Cloud-Wallet-Login-and-changing-password

If you have local wallet: