In case any building or structure is erected, constructed, reconstructed, altered, converted, located 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, 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 Code Enforcement Officer shall serve written notice, either by personal service or by certified mail, return receipt requested, addressed to the premises of such violation or the person or corporation committing or permitting the same, and, if such violation does not cease within such time as the Code Enforcement Officer shall specify by not less than five days, he may institute such of the foregoing action as may be necessary to determine the violation. Such notice may also be served by posting on the premises.