The usual sort of procedure is to check the server log files.
Ideally, you should be running your Moodle site with Debugging set all Normal or All (with messages written only to the log files, not to the screen). That gives you more information about problems.
It also helps if you can find the time when the problem occurred as accurately as possible.