Use the legitimate service from a trusted device as soon as possible.
Example
After entering your mail password on a fake page, you get a new sign-in alert.
Why it’s dangerous
The person collecting the password may open the mailbox and try it on other services.
What to do
Change the password, end other sessions, and check recovery methods, connected apps, and mail forwarding. Replace every reused copy of that password.
How to avoid it
Use a different password for every important account. Turn on a second sign-in check and keep recovery details current.