Notice of violation. Upon becoming aware of any violation of any of the provisions of this chapter, the Zoning Officer, Construction Official or Police Department shall serve notice of such violation on the person, firm or corporation committing or permitting the same, and if such violation has not ceased within such reasonable time as has been specified in such notice, such action shall be instituted as may be necessary to terminate the violation, including revocation of any certificate of occupancy issued and/or the enjoining of any violation.