Are you trying to update to MacOS Big Sur?   You might be getting the following error:

An error occurred while installing the selected updates.

You’re not alone.  In fact it looks like the demand from everyone trying to update has taken down the update servers.   Hopefully they’ll be back online soon and you’ll be able to continue updating.