Clear cache and cookies: Rule out all possible problems. Clear the cache and cookies and see if the error persists. It is really not often that these types of errors are caused by caching, however errors when clearing the cache often disappear. It is recommended that you delete the cookies associated with the website that has the error.
In case the error appears on your page
If the problem is presented by your own website, you must proceed in another way. Frequently 500 errors are server errors. In this case, do the following:
Check the permissions: It is recommended to verify that the permissions of the web files have not been modified. Check the write, read and execute permissions to verify that there are no errors that could cause the problem. Generally, an incorrect permission in a PHP and CGI script can be the cause. Once the permissions have been verified, delete the cookies, restart the browser and check the operation of the web.
PHP timeout. Please review the timeout rules and verify your script as it may be causing the 500 error.
Encoding error in .htaccess file: It is not the most common reason, however, it is convenient to check if the .htaccess file has been modified recently and to check its configuration.
Check plug-ins and modules on the web: If you use WordPress or other content managers, some plug-in may cause the failure. In case of PrestaShop, check the recently installed modules.
Server: Check the consumption of the server, it may be overloaded and not able to respond to requests.