No building or land shall hereafter be used or occupied and no building or part thereof shall be erected, moved or altered except in conformity with the regulations specified in this article, and without first obtaining permits. In the enforcement of the provisions of this article, the building inspector may withhold building or occupancy permits until all provisions of this article are complied with or his decision is rescinded by the board of appeals.