Solutions for website security

Use secure hosting
Scanner for a site to check infections
Webmaster tools to find critical issues
Extensions should be up-to-date
Back up site when changes made
Make very strong password to prevent hacking