Prioritise
Change the exposed password first, then any other accounts where you reused it, starting with email and financial accounts.
Use a clean device
If the device may be infected, change passwords from another device you trust.
Use unique passwords
A password manager makes unique passwords practical, so one leak does not affect other accounts.
Check account activity
Review recent logins and sessions and sign out of unfamiliar devices.