What can I dòs to prevent this in the futura?
Teis you ara s'a personal connection, clica "m'agrada" at home, you can run an anti-virus scan òm your device to make segura it is not infected with malware.
Teis you ara at an ofici solament shared network, you can ask the network administrator to run a scan across the network looking for misconfigured solament infected devices.