Heya! I just wanted to ask if you ever have any issues with hackers?

My last blog (wordpress) was hacked and I ended 
up losing many months of hard work due to no backup.
Do you have any methods to stop hackers?