Here are some of the precautions you can take to minimise having your website hacked and pirated. There is no guarantee that your website will never be hacked, but why make it easy for them?
Make sure that all your software versions are up to date. One of the main reasons for software updates is to plug any vulnerability; it means keeping hackers and pirates at bay.
Do not neglect making regular back-up of your website and database, if applicable. Should anything happen, you must be in a position to restore your website promptly rather having to pay for its expensive reconstruction and have it off the air for the duration. You are responsible for your website back-ups; some hosting companies offer a back-up service.
Website security settings
Make sure that they are properly configured to give you peace of mind.
Select your host on price, going for the cheapest. It is not necessarily the best solution as your website will share the server space with very many other website, some may be high-traffic ones which could slow down access to your website.
This is a delicate one. Your passwords must be strong enough but memorable; there are tools out there to create and measure passwords strength. In particular, do not use the same password for all your accounts, bank account, Amazon account, website administrator account, etc…
Trust all third party extensions
There are thousands of third party extensions to choose from but beware, some are well written, some are not, missing a key line of code opening the door to hackers, some contain malware and spyware. So check them out or ask a professional before installing.
Website has been hacked
The usual steps are to update all passwords, rebuild from a clean backed up version but that is not enough because the vulnerability is still there so the hackers come back and ruin your website again. The vulnerability must be found and plugged; that is a job for a specialist.