You can follow along here.
https://learn.microsoft.com/en-us/windows-server/administration/windows-server-update-services/deploy/4-configure-group-policy-settings-for-automatic-updates
--please don't forget to upvote and Accept as answer if the reply is helpful--