---
title: "Guide: What to do when a data breach is detected"
description: "Data breach: what to do in the first 72 hours, how to reduce legal risks, and protect your company with effective cybersecurity measures."
image: https://www.esedsl.com/hubfs/Plantilla%20imatges%20BLOG%20ESED%20%2870%29-2.png
---

- [Customer Support](https://www.esedsl.com/en/support?hsLang=en)
- [Kit Digital](https://www.esedsl.com/kit-digital?hsLang=en)
- [Kit Consulting](https://www.esedsl.com/en/kit-consulting-advisory-for-digital-transformation?hsLang=en)

<https://www.linkedin.com/company/esed><https://www.instagram.com/esed_cybersecurity>

<https://x.com/HubSpot><https://www.instagram.com/hubspot/><https://developers.hubspot.com/slack>

[![Logo-ESED](https://www.esedsl.com/hubfs/mailing/Logo-ESED.svg "Logo-ESED")](https://www.esedsl.com/?hsLang=en)

[![Logo-ESED](https://www.esedsl.com/hubfs/mailing/Logo-ESED.svg "Logo-ESED")](https://www.esedsl.com/?hsLang=en)

- Managed services
  
  **Your Cybersecurity and IT department** 
  
  Fully outsourced for a fixed monthly rate. 24/7 protection with no need for an internal team. 
  
   
  
    **[Pricing](https://www.esedsl.com/en/outsorurcing-cyber-and-it-services)**
  
  Basic · Medium · Plus · Premium
  
   
  
    **[IT Add-on](https://www.esedsl.com/en/outsorurcing-cyber-and-it-services#modulo-it)**
  
  Support and management, optional add-on to your plan 
  
  ---

    **[Calculate your quote](https://www.esedsl.com/en/calculator-esed) <https://www.esedsl.com/calculadora-presupuesto-esed>**
  
  Calculate your pricing based on your needs
- Pentesting & Audits
  
  **Put your security to the test** 
  
  What do you need to validate? Select based on your infrastructure. Fixed-fee validation; tailored pentest. 
  
   
  
    **[Ransomware simulation](https://www.esedsl.com/en/ransomware-simulation)**
  
  Simulating real-world attacks and diverse threat scenarios
  
   
  
    [**Microsoft 365 audit**](https://www.esedsl.com/en/microsoft-365-audit)<https://www.esedsl.com/en/microsoft-365-audit>
  
   Security for your Microsoft Tenant 
  
   
  
    [**AWS audit**](https://www.esedsl.com/en/aws-audit)<https://www.esedsl.com/en/aws-audit>
  
  Security for your cloud infrastructure
  
   
  
   **[Web Application Pentest](https://www.esedsl.com/en/pentesting)**
  
  Tailored manual assessment | Request a quote
- Compliance
  
  **Regulatory Compliance** 
  
  NIS2 is the overarching framework. ENS and ISO 27001 are the two certification pathways to achieve compliance. 
  
   
  
    **<https://www.esedsl.com/en/nis2-directive>[NIS2 · Regulatory framework](https://www.esedsl.com/en/nis2-directive)**
  
  **Not directly certifiable.** We help you understand its impact on your business.
  
  ---
  
    **[ENS Compliance](https://www.esedsl.com/en/ens-compliance)**
  
  National Security Scheme · **Certifiable** 
  
   
  
    **[ISO 27001](https://www.esedsl.com/en/iso-27001-certification)**
  
   ISMS Certification · **Certifiable**
- Resources
  
  **ESED Academy**   
  Your ESED resource & Training Hub 
  
   [**Resources**](https://www.esedsl.com/en/resources)   
  Find guides, manuals, reports, and timely infographics on cybersecurity and cyberattacks. 

   [**Blog**](https://www.esedsl.com/en/blog)   
  Latest news and updates on ESED, technology, cybersecurity, and IT solutions.
- [Contact](https://www.esedsl.com/en/contact)

English

- English
- [Català](https://www.esedsl.com/ca/blog/guia-que-fer-quan-es-detecta-una-bretxa-de-dades)
- [Español](https://www.esedsl.com/blog/guia-que-hacer-cuando-se-detecta-una-brecha-de-datos)

Más resultados

- Managed services

    - [View cybersecurity pricing](https://www.esedsl.com/en/outsorurcing-cyber-and-it-services)
    - [IT Module (optional)](https://www.esedsl.com/en/outsorurcing-cyber-and-it-services)
    - [Calculate your quote](https://www.esedsl.com/en/calculator-esed)
- Pentesting & Audits

    - [Ransomware simulation](https://www.esedsl.com/en/ransomware-simulation)
    - [Microsoft 360 audit](https://www.esedsl.com/en/microsoft-365-audit)
    - [AWS audit](https://www.esedsl.com/en/aws-audit)
    - [Web application pentest](https://www.esedsl.com/en/pentesting)
- Compliance

    - [NIS2](https://www.esedsl.com/en/nis2-directive)
    - [ENS](https://www.esedsl.com/en/ens-compliance)
    - [ISO 27001](https://www.esedsl.com/en/iso-27001-certification)
- Resources

    - [ESED Academy](https://www.esedsl.com/en/resources)
    - [Blog](https://www.esedsl.com/en/blog)
- [Contact](https://www.esedsl.com/en/contact)

- [Soporte Cliente](https://www.esedsl.com/soporte?hsLang=en)
- [Kit Digital](https://www.esedsl.com/kit-digital?hsLang=en)
- [Kit Consulting](https://www.esedsl.com/kit-consulting-asesores-digitales?hsLang=en)
- ![ESED-14y](https://www.esedsl.com/hs-fs/hubfs/ESED-14y.png?width=77&height=50&name=ESED-14y.png)

 

<https://www.instagram.com/esed_cybersecurity><https://www.linkedin.com/company/esed/>

# Guide: What to do when a data breach is detected

By [**Esteban Sardanyés**](https://www.esedsl.com/en/blog/author/esteban-sardanyés) on Apr 16, 2026, 11:00:00 AM

![\<span id="hs\_cos\_wrapper\_name" class="hs\_cos\_wrapper hs\_cos\_wrapper\_meta\_field hs\_cos\_wrapper\_type\_text" style="" data-hs-cos-general-type="meta\_field" data-hs-cos-type="text" \>Guide: What to do when a data breach is detected\</span\>](https://www.esedsl.com/hs-fs/hubfs/Plantilla%20imatges%20BLOG%20ESED%20%2870%29-2.png?width=800&height=500&name=Plantilla%20imatges%20BLOG%20ESED%20%2870%29-2.png)

Companies take 25% longer than expected to recover from cybersecurity incidents, and almost always it’s because they react too late. Every hour without action increases legal, reputational, and financial risk. Knowing what to do from the very first moment can be the difference between a controlled incident and a disaster.

[![Nueva llamada a la acción](https://no-cache.hubspot.com/cta/default/6471375/161db2be-9f22-4aaa-bb00-30f7ef41536c.png)](https://cta-redirect.hubspot.com/cta/redirect/6471375/161db2be-9f22-4aaa-bb00-30f7ef41536c)

## What is a data breach?

A data breach occurs when confidential information is compromised, whether due to a cyberattack, human error, or technical failure. It’s not always a “spectacular hack”: an email sent to the wrong recipient, a lost laptop, or leaked passwords also count. What matters is the risk to people’s rights and privacy.

## How to detect a data breach

- Security alerts from your system or antivirus
- Unusual access to databases or internal systems
- Customer complaints about receiving information they shouldn’t
- Suspicious activity in corporate accounts

Setting up monitoring systems and early warning protocols allows you to react before the damage spreads. Prevention and rapid detection are the first line of defense against data exposure.

## Guide: steps to take when a data breach is detected

Acting quickly is crucial. The first 72 hours are critical to contain the incident, assess its impact, and comply with data protection regulations.

### 1. Identify and contain the incident

The first step is to understand what happened and stop it. This may involve blocking compromised access, isolating affected devices, changing passwords, and disconnecting critical systems.

### 2. Assess the impact

Once the problem is under control, analyze which data was affected, how many people may be involved, and whether the information includes sensitive data such as financial or health records. Not all breaches carry the same risk: prioritizing based on severity is essential for making quick and accurate decisions.

### 3. Document the incident

Recording everything that happened is both mandatory and useful. Date, type of breach, affected data, estimated number of people involved, and actions taken form a record that demonstrates compliance and is useful for future audits or inspections.

### 4. Notify the competent authority

If the incident poses a risk to people’s rights, you must inform the data protection authority, usually within 72 hours. The notification must be clear and complete, including a description of the breach, the compromised data, and the measures taken to mitigate the risk.

### 5. Inform the affected individuals

When the breach may cause high risk, such as financial leaks, access to medical records, or passwords, affected individuals must be informed with practical guidance on what happened, which data was compromised, and what steps they can take to protect themselves.

## How to prevent the consequences of a data breach

### Train employees in cybersecurity

Human error is still the most common entry point for attacks. Continuous training on [phishing](https://www.esedsl.com/en/phishing-simulation?hsLang=en), [ransomware](https://www.esedsl.com/en/protection-against-ransomware-proactive-cybersecurity-esed?hsLang=en), and good data-handling practices significantly increases your biotech’s resilience and reduces operational and regulatory risks.

### Encrypt sensitive information and control access

Storing data is not enough; it must be protected. Encryption ensures that even if someone accesses it without permission, the information cannot be read. Additionally, restricting access based on role minimizes exposure to internal and external risks.

### Conduct regular cybersecurity audits

Detecting weaknesses before attackers exploit them is essential. Regular reviews of systems, networks, and applications help identify vulnerabilities and fix them in time.

### Implement information security policies aligned with [regulations](https://www.esedsl.com/en/regulatory-compliance?hsLang=en)

Having clear, documented procedures not only protects data but also demonstrates compliance in audits and to authorities. This includes password management, device control, and incident response protocols.

## [ESED](https://www.esedsl.com/en/?hsLang=en), your cybersecurity partner

Taking a preventive approach to cybersecurity not only reduces risks but also allows you to control costs and avoid unexpected impacts on your business.

At Esed, we offer a [fixed monthly fee](https://www.esedsl.com/en/outsorurcing-cyber-and-it-services?hsLang=en) that includes proactive services to keep your systems continuously protected and operational. This model allows companies to anticipate potential incidents without relying on reactive measures or variable costs.

Additionally, you can customize the service according to your needs, choosing between pure cybersecurity or a more complete solution that also integrates IT service outsourcing.

Share this

[Share on X](https://x.com/intent/post?url=https://www.esedsl.com/en/blog/guide-what-to-do-when-a-data-breach-is-detected&text=Guide%3A+What+to+do+when+a+data+breach+is+detected) [Share on Facebook](https://www.facebook.com/sharer/sharer.php?u=https://www.esedsl.com/en/blog/guide-what-to-do-when-a-data-breach-is-detected&t=Guide%3A+What+to+do+when+a+data+breach+is+detected) [Share on LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https://www.esedsl.com/en/blog/guide-what-to-do-when-a-data-breach-is-detected&t=Guide%3A+What+to+do+when+a+data+breach+is+detected)

Previous story

[← ESED joins the MOVES III program to promote sustainable mobility](https://www.esedsl.com/en/blog/esed-joins-the-moves-iii-program-to-promote-sustainable-mobility?hsLang=en)

<https://www.esedsl.com/en/blog?hsLang=en>

Next story

[Summary: Most Targeted Sectors by Malware in 2025 →](https://www.esedsl.com/en/blog/summary-most-targeted-sectors-by-malware-in-2025?hsLang=en)

## You May Also Like

These Related Stories

[What happens after a ransomware attack: costs, recovery times, and critical decisions in the first 72 hours](https://www.esedsl.com/en/blog/what-happens-after-a-ransomware-attack-costs-recovery-times-and-critical-decisions-in-the-first-72-hours?hsLang=en)

![](https://www.esedsl.com/hubfs/Plantilla%20imatges%20BLOG%20ESED%20%2831%29-3.png)

[Cybersecurity](https://www.esedsl.com/en/blog/tag/cybersecurity)

### What happens after a ransomware attack: costs, recovery times, and critical decisions in the first 72 hours

Aug 27, 2026, 9:00:01 AM 4 min read

[Data Breach in Beauty Quizzes: When a Skincare Quiz Collects Sensitive Data Without You Realizing It](https://www.esedsl.com/en/blog/data-breach-beauty-quizzes-skincare-quiz-sensitive-data?hsLang=en)

![](https://www.esedsl.com/hubfs/Plantilla%20imatges%20BLOG%20ESED%20%2822%29-3.png)

[Cybersecurity](https://www.esedsl.com/en/blog/tag/cybersecurity)

### Data Breach in Beauty Quizzes: When a Skincare Quiz Collects Sensitive Data Without You Realizing It

Sep 24, 2026, 9:00:01 AM 3 min read

[Why cyber insurance claims are denied after a cyberattack and how to avoid it](https://www.esedsl.com/en/blog/why-cyber-insurance-claims-are-denied-after-a-cyberattack-and-how-to-avoid-it?hsLang=en)

![](https://www.esedsl.com/hubfs/Por%20qu%C3%A9%20las%20aseguradoras%20rechazan%20indemnizaciones%20tras%20un%20ciberataque%20y%20c%C3%B3mo%20evitarlo%20%281%29.png)

[Cybersecurity](https://www.esedsl.com/en/blog/tag/cybersecurity)

### Why cyber insurance claims are denied after a cyberattack and how to avoid it

Nov 2, 2026, 9:00:00 AM 3 min read

### Subscribe to our newsletter and stay updated on the latest in technology and cybersecurity.

<https://instagram.com/esed_cybersecurity> <https://linkedin.com/company/esed>

![accio-10-negre (1)](https://www.esedsl.com/hs-fs/hubfs/accio-10-negre%20(1).png?width=262&height=150&name=accio-10-negre%20(1).png)

[![distintivo\_ens\_certificacion\_MEDIA\_RD311-2022](https://www.esedsl.com/hs-fs/hubfs/distintivo_ens_certificacion_MEDIA_RD311-2022.png?width=150&height=182&name=distintivo_ens_certificacion_MEDIA_RD311-2022.png)](https://gobernanza.ccn-cert.cni.es/amparo/API/public/certificaciones/14792/download/11594)

![kit consulting cabecera](https://www.esedsl.com/hs-fs/hubfs/kit%20consulting%20cabecera.png?width=800&height=200&name=kit%20consulting%20cabecera.png)

![ADHESIVO PÁGINA WEB (1)](https://www.esedsl.com/hs-fs/hubfs/ADHESIVO%20P%C3%81GINA%20WEB%20(1).jpg?width=1150&height=64&name=ADHESIVO%20P%C3%81GINA%20WEB%20(1).jpg)

#### ![Logo A 600ppi-3](https://www.esedsl.com/hs-fs/hubfs/Logo%20A%20600ppi-3.png?width=131&height=50&name=Logo%20A%20600ppi-3.png)

[TecnoCampus Mataro-Maresme](https://www.google.es/maps/place/ESED+-+Cyber+Security+%26+IT+Solutions/@41.5280096,2.4294024,16z/data=!4m5!3m4!1s0x12a4b4e445debe99:0x2ef10de48f1a12b!8m2!3d41.5280096!4d2.4337798)  
Av. Ernest Lluch, 32 Edificio TCM3, Planta 4, Despacho 3,  
08302, Mataró (Barcelona)  
N 41.528007 W 2.433735

[Berga](https://maps.app.goo.gl/mhzdWLDs3zvs3QHt8)  
Carrer Isaac Albéniz, 13, Baixos  
08600, Berga (Barcelona)  
N 42.0446208 W 2.2511616

 

[Miami](https://maps.app.goo.gl/Z82BqZaww24AuuNCA)  
111 NE 1st St, 8th Floor  
Miami, FL 33132  
USA 

 

Phone: [(+34) 93 380 30 40](tel:+34933803040)

<https://es.linkedin.com/company/esed><https://www.instagram.com/esed_cybersecurity/>

Services

- [Managed services](https://www.esedsl.com/en/outsorurcing-cyber-and-it-services?hsLang=en)
- [Pentesting](https://www.esedsl.com/en/pentesting?hsLang=en)
- [Audits](https://www.esedsl.com/en/microsoft-365-audit?hsLang=en)
- [Compliance](https://www.esedsl.com/en/nis2-directive?hsLang=en)

Pricing

- [Monthly plans](https://www.esedsl.com/en/outsorurcing-cyber-and-it-services?hsLang=en)
- [Calculator](https://www.esedsl.com/en/calculator-esed?hsLang=en)

ESED DNA

- [Contact](https://www.esedsl.com/en/contact?hsLang=en)
- [About us](https://www.esedsl.com/en/about-us?hsLang=en)
- [Work with us](https://www.esedsl.com/en/work-with-us?hsLang=en)
- [Blog](https://www.esedsl.com/en/blog/esed-open-a-new-office-in-miami?hsLang=en)

 © 2026 ESED - Cyber Security & IT Solutions.

- [Legal notice](https://www.esedsl.com/en/legal-notice?hsLang=en)
- [Privacy policy](https://www.esedsl.com/en/privacy-policy?hsLang=en)
- [Cookie policy](https://www.esedsl.com/en/cookies-policy?hsLang=en)

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Esteban Sardanyés",
    "url" : "https://www.esedsl.com/en/blog/author/esteban-sardanyés"
  },
  "dateModified" : "2026-11-17T10:37:45.441Z",
  "datePublished" : "2026-04-16T09:00:00.000Z",
  "headline" : "Guide: What to do when a data breach is detected",
  "image" : [ "https://www.esedsl.com/hubfs/Plantilla%20imatges%20BLOG%20ESED%20%2870%29-2.png" ],
  "mainEntityOfPage" : {
    "@id" : "https://www.esedsl.com/en/blog/guide-what-to-do-when-a-data-breach-is-detected",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://www.esedsl.com/hubfs/Logo%20A%20300ppi.png"
    },
    "name" : "Serveis Integrals ESED SL"
  }
}
```