There are several cybersecurity measures that you can take to protect against attacks by hackers.
Some of them include:
Following strong password recommendations and enabling multi-factor authentication (MFA).
Blocking executable content from emails.
Using advanced protection against ransomware.
Keeping software updated with the latest security patches.
Using VPNs.