Error code 523 (Website frequently goes offline in a matter of 5–6 minutes)

The website frequently goes offline in a matter of 5–6 minutes or so when I am working on it. I am unable to update my website because of this incident.

Please provide me with any information or solutions regarding the root cause.
Many thanks.