A data breach is when personal information held by a company or public body ends up in the wrong hands, through a cyberattack or a mistake. If your details are in one, this is what I would do in the first few hours: change the affected passwords, turn on two-step verification, keep an eye on your bank account and distrust any message that knows too much about you. The rest follows in order in this guide.
It usually starts with an email from a company where you have an account: "we have detected a security incident" and your data "may have been affected". Other times nobody warns you and you notice it yourself, because text messages start arriving that know your name, your address or the last thing you bought. You did not cause the breach. What happens from then on, though, depends quite a lot on you.
What counts as a data breach
Any incident that leads to personal data being lost, accessed without authorisation or disclosed. A cyberattack, yes, but also an email sent to the wrong person or a stolen laptop. When there has been an attack, the data usually ends up for sale or published on forums and messaging channels.
What circulates most: name, email, phone number, address, passwords (sometimes encrypted, sometimes not), partial payment details and, in the most serious cases, copies of identity documents.
The GDPR calls it a "personal data breach" (Article 4(12)). In everyday language, leak, breach and data spill all mean the same thing.
How to find out whether your data has been leaked
The most reliable sign is a notice from the company itself: if the risk to you is high, it is required to tell you. The second is to check your email address against known breaches; our breach checker (in Spanish) does this free of charge without asking for any password. And if you suspect a particular company, the right of access I explain below obliges it to tell you what data it held about you.
There is another sign, less reliable but very common: you start receiving messages that know your name, your address or the last thing you bought.
What the law requires of the company
The GDPR places two obligations on whoever suffers the breach:
- Notify the data protection authority (in Spain, the AEPD, the Spanish Data Protection Agency) without undue delay and, where feasible, within 72 hours of becoming aware of it, unless it is unlikely to pose a risk to people (Article 33).
- Inform the people affected without undue delay when it is likely to result in a high risk to their rights (Article 34), explaining what happened and what measures it recommends.
Have you heard nothing but suspect you are affected? Exercise your right of access: the company has to tell you what data it held about you and which of it has been compromised.
Your steps, in this order
1. Passwords
First, the password for the affected account. Then every account where you use the same password or a similar one, because that is exactly what attackers try. Use a long, different password for each service; with a password manager it stops being a chore.
2. Two-step verification
Email, social media, bank and any service you care about. With it switched on, having your password is not enough to get in.
3. Bank
Check your transactions over the coming weeks and turn on alerts in your banking app. If card details were in the breach, call your bank and decide with them whether to block the card.
4. Messages that know too much about you
After a breach, personalised scams surge: emails, texts or calls that know who you are and pretend to be your bank, the affected company or a public body. My rule is simple: no links, no codes, and if in doubt, hang up and call the official number yourself.
A classic after a breach is the email claiming to have recorded you through your webcam, showing one of your passwords as proof. That password comes from an old breach, not from your computer. Do not pay or reply, and change it if you still use it anywhere. I explain it in detail in the "I recorded you through your webcam" email.
5. If your ID document was included
Report it to the police and keep a copy of the report. It is what you will show if someone uses your identity to sign up for a service or take out a loan in your name. Consider renewing the document as well.
Check whether you are affected
There are trustworthy public services that tell you whether your email appears in known breaches. Use only well-known ones and never enter your password in any of them, however insistently they ask.
When your data is already on a website
If you find it exposed on a page or in a search engine, you have four fronts:
- Ask the person responsible for the website to remove it, if they can be identified.
- Ask Google to stop showing results with your personal contact details or identity documents, under its removal policies.
- Report the content to the platform hosting it.
- Tell the data protection authority, especially if the company responsible has done nothing.
Making a claim against the company
A breach does not on its own mean the company broke the law. What matters is whether it had appropriate security measures and whether it acted as it should afterwards. If you think it did not, you have two routes that can be used together:
- A complaint to the AEPD (or the authority in your country), which can investigate and fine the company, although the fine does not go to you. How to file one with the AEPD is in complaints to the AEPD step by step (in Spanish).
- A claim for damages: Article 82 of the GDPR gives you the right to compensation for material or non-material damage caused by an infringement. The decisive point here is being able to prove the harm.
Keep the notice the company sent you, any suspicious messages you receive and any charge or contract you do not recognise. Without them, both routes are weak.
And if the breach is at your own company
Then you are on the other side and have legal obligations: document the incident, assess the risk to the people affected, notify the authority within 72 hours where required and inform those affected if the risk is high. From a reputation point of view, what I have seen do the most damage is almost never the breach itself. It is the impression that someone tried to hide it. Telling people early and clearly protects you more than any polished statement.
If it is your own website that failed, for example because of the PHP flaw of October 2026, the order of steps is in what to do if your website has been attacked through php2shell, and our PHP checker (in Spanish) shows you in a minute whether your server reports an affected version.
Free help
If you live in Spain, INCIBE's 017 helpline (INCIBE is the national cybersecurity institute) gives free, confidential support to individuals and businesses facing cybersecurity incidents, breaches included. If the breach leads to fraud, report it to the police.
Frequently asked questions
How do I know whether my data is in a breach if nobody has told me?
Exercise your right of access: the company has to tell you what data it held about you and which of it has been compromised. You can also check whether your email appears in known breaches using well-known services; never enter your password in any of them.
Are a data leak and a security breach the same thing?
In everyday language, yes. The GDPR speaks of a "personal data breach" and includes both an attack and an internal mistake, such as an email sent to the wrong person.
Do I need to block my card?
If card details were in the breach, call your bank and decide with them. Either way, check your transactions over the coming weeks and turn on alerts in your banking app.
What data usually circulates after a hack?
Name, email, phone number, address, passwords (sometimes encrypted, sometimes not), partial payment details and, in the most serious cases, copies of identity documents.
Should I renew my ID document if it was in the breach?
Consider it. Before that, report it to the police and keep a copy of the report: it is what you will show if someone uses your identity to sign up for a service or take out a loan in your name.
Can I claim compensation for a breach of my data?
Article 82 of the GDPR gives you that right when an infringement causes you damage, material or non-material. The hard part is proving the harm and that the company did not have the security measures it should have had. The AEPD can fine the company, but it does not award compensation.
What do I do if I get an email claiming to have my password and asking for money?
Do not pay or reply. That password usually comes from an old breach. Change it wherever you still use it, turn on two-step verification and, if the message contains specific threats, keep it and report it.
If your data is still circulating
Finding where it has been published and requesting its removal from websites and search engines is part of what we do in removing personal information. We look at your case free of charge and tell you frankly what can be achieved, because in the end each platform or search engine decides. If there is work to do, we agree the scope with you in writing before we start.



