Whenever the planning and zoning department determines defective or illegal work is performed in violation of a provision or requirement of this article, it shall order, in writing, all further work to be stopped until such defective or illegal work is corrected.