What steps would you take to troubleshoot a malfunctioning mechanical device?

Situational