OpenBSD has a few different mechanism to update, depending on what the update is for.
For packages: pkg_add -u
For the kernel and base system: syspatch
For firmware: fw_update
All of these need to get run with doas if youโre not root.
Finally, if youโre moving from one version to another: sysupgrade sysmerge pkg_add -u