If a website you developed is running slowly, what steps would you take to troubleshoot and optimize it?

Situational