What is the meaning of [don’t take down a fence unless you are sure why it was put up]

Most things were constructed or established for a purpose, and it is unwise to destroy or dismantle them unless you are certain that they are not longer required.