Whenever an update for your website is available, install it as immediately as possible. You should also keep your site's certificates up to date.
[header] How to secure your website [title] Keep your website up to date. [step] Failing to update your website's software, security, and scripts when necessary is a sure way to allow intruders and malware to take advantage of your site. [substeps] This goes for patches from your website's hosting service as well (if applicable).