Pause and do a first-principles audit of recent work.
List: 1) What is true (supported by evidence) 2) What is assumption 3) What could be wrong 4) Highest-risk bug 5) Next highest priority task and why
Then either patch issues or state clearly why no changes are needed.