If something fails look at the logs, actually READ them, what does it sail failed? Investigate that.
Failure + no logs?
Your mission is now to first find a way to enable logging, then read them.
No way to enable logging? If the infra and code is yours, now you need to write in logging, enable it, and then read the log
Not your code? No logs?
Figure out the difference between the last working version of your code / deployment script and the current one. If no difference check the change log for the infra you are using
That's my brief list