Automatically by Flywheel, that’s how!
In order to prevent outsiders meddling with your stuff, Flywheel makes sure your site is running the latest and greatest version of WordPress. These updates often include security patches, which close any doors and windows that hackers may have found in previous versions.
On Flywheel, these updates are automatic and usually happen within a few days of their release.
NOTE: Flywheel strongly advises that their customers stay on the automatic update cycle,. It is very important to them that sites on Flywheel do not fall more than two major releases behind the update schedule. If they do, they may reach out to you to work out a strategy for getting back on the update wagon.