Use logs and tests to find problems.
The automation log is your best friend when something goes wrong. Learn to read it effectively.