If you shared a password, change it immediately, along with any other accounts using the same password. Start with your email account and enable two-factor authentication where available.
If someone accessed your device remotely or asked you to install suspicious software, disconnect it from the internet. Use another trusted device to contact your bank and change passwords, and seek trusted IT support.