To institute any appropriate action or proceedings to prevent such unlawful erection, reconstruction, alteration, maintenance, or use; to restrain, correct, or abate such violation; and to prevent occupancy of such building, structure, premises, or lot.