There are certainly things you can do to protect your website from being hacked, if that's what you're asking.
Protecting your web server against a virus (such as PC antivirus protection) is the job of your hosting company. If your company isn't able or willing to keep their servers safe and secure, you need a different hosting company. In general, you want a company that keeps up to date with the latest releases of operating system and web server software and that applies security patches in a timely manner.
It's also helpful if they have a strong tech support group that can help you out in the event something goes wrong.
When it comes to your website, what you need to do depends on the platform you're using to run the site. For instance, there are security plugins you can use for Wordpress that will make it much harder for hackers to break in to the administrative login. Some of these will also periodically scan the Wordpress core files to see if any of the files have changed (which might simply be a software upgrade, but might also be signs of a hacker at work).
There are also external services available for a fee that will monitor and help secure your website.
In general, you want to select passwords for any FTP, database or content management system software access that contain a mixture of uppercase and lowercase letters, numbers and symbols. You don't want to use any words that are in the dictionary or word/number combinations that might be easy for someone to guess. The longer the better.
While it's impossible to 100% PREVENT
all problems, with a little forethought and vigilance, you can minimize the chances of getting hacked.