Zend certified PHP/Magento developer

Magento 2: Server error (5xx)

Google Search Console notifies an error as seen in the screenshot. How to ensure such errors do not occur so that the search engines can crawl and access the pages on the site?

enter image description here