The HTTP 503 (Service Unavailable) status code means that the server is currently unable to handle the request because of a temporary overload or scheduled maintenance, according to RFC 9110, the IETF standard that defines HTTP semantics. In the words of Section 15.6.4 of RFC 9110, "The 503 (Service Unavailable) status code indicates that the server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay."
A 503 is meant to be temporary
The definition ties 503 to a condition that will likely be alleviated after some delay. The 5xx (Server Error) class as a whole indicates that the server is aware that it has erred or is incapable of performing the requested method, and RFC 9110 says that, except when responding to a HEAD request, the server should send a representation explaining the error situation and whether it is a temporary or permanent condition.
How the Retry-After header works with a 503
RFC 9110 says the server may send a Retry-After header field with a 503 to suggest an appropriate amount of time for the client to wait before retrying the request. Section 10.2.3 says that when Retry-After is sent with a 503 response, it indicates how long the service is expected to be unavailable to the client. The value can be either an HTTP-date or a number of seconds to delay after receiving the response, and the standard gives these two examples: