Few basic cybersecurity practices that one must be aware of are drafted beneath to take cognizance of: Emphasis should be laid more on restraining a hack rather than restoring a hack.
Creating a strong password and two-factor authentication.
Secured, encrypted, and concealed Wi-Fi network.
Offline backups.
Installing anti-virus software.
Always be careful/alert by refraining yourself from suspicious links/ clickbait.