if you find yourself in a hole, the first thing to do is stop digging
When finding oneself in a troubling situation, one should first make sure one is not making the situation worse by one's own actions before addressing all other causes.
noun
The action performed by a person or thing that digs.
A place where ore is dug, especially certain localities in California, Australia, etc. where gold is obtained.
Accommodation; lodgings; digs.
Region; locality.
This knock-down argument in favour of big mosquitoes used the Hoosier up, and the logician started on a new track, to explain how numerous bear were in his "diggins," where he represented them to be "about as plenty as blackberries, and a little plentifuler.”