In case any building or structure is erected, constructed, reconstructed, altered, converted, repaired or maintained or any building, structure, land or premises is used in violation of this chapter or any regulation made pursuant thereto or under authority conferred thereby, in addition to other lawful remedies, any appropriate action or proceedings may be instituted to prevent such unlawful erection, construction, reconstruction, alteration, conversion, repair, maintenance or use to restrain, correct or abate such violation, to prevent the occupancy of such building, land or premises or to prevent any illegal act, conduct, business or use in or about such premises. The Building Inspector or a Town police officer shall serve notice either by personal service or by certified mail, addressed to the premises of such violation, on the person committing or permitting the same or on the owner of the property as shown on the latest copy of the Town assessment rolls; and if such violation does not cease within such time as the Building Inspector shall specify, but not less than five days, he may petition the proper court of law for the necessary relief required.