If you get a new sign-in alert and you're not sure it was you, treat it as a real security event until proven otherwise. Don't click any links inside the email itself, even if it looks official — go directly to the service's website or app by typing the address yourself or using a bookmark, then check your account's recent activity or security log.
Most major services (Google, Microsoft, Apple, Facebook, banks) have a page showing recent sign-ins, including the approximate location, device type, and browser used. Compare that against your own recent activity. If you see a login from a city or country you've never been to, a device you don't own, or a time when you weren't using that account, assume it's unauthorized.
If the sign-in looks suspicious, change the password immediately from a device you trust, and make it a completely new password, not a variation of the old one. Then sign out of all other sessions or devices — nearly every major platform has a "sign out everywhere" or "manage devices" option buried in account security settings. This kicks out the intruder even if they're still logged in somewhere.
Next, check whether two-factor authentication (2FA) is turned on. If it isn't, turn it on now using an authenticator app rather than text messages when that option exists, since SMS codes can be intercepted or redirected through SIM-swap scams. If 2FA was already on and the alert still fired, double-check that the account recovery email and phone number haven't been changed by the attacker — that's one of the first things intruders alter so they can lock you out permanently.
Look for other signs of tampering: new forwarding rules or filters in email, unfamiliar devices linked to a cloud storage account, unexpected purchases, or new apps given access to your account. Revoke access for anything you don't recognize.
If it turns out the alert was triggered by you — a new phone, a VPN that made your location look different, or logging in from a browser you don't normally use — you can safely ignore it, but it's still worth confirming your recovery information is current and 2FA is enabled, since these alerts exist precisely to catch the one time it isn't you.
If you can't get back into the account because the password or recovery details were already changed, use the platform's official "account recovery" or "hacked account" process rather than searching for help through random links, since scammers run fake recovery sites that mimic real ones. If the compromised account is tied to banking, email, or anything with financial information, also watch your bank and credit statements for a few weeks afterward, since attackers often use one breached account to pivot into others.