Before constructing, erecting, altering or enlarging or permitting the construction, erection, alteration or enlargement of any building or structure on a lot or tract of land or before occupying any building, structure, lot or tract of land where the use has been changed.