It shall be the duty of the owner, lessee or occupant of any building or structure that was lawfully inspected as hereinbefore prescribed, and who receives written or verbal notice of a violation of any of the provisions of the municipal ordinances, to correct the condition that violates said ordinance or ordinances within five days from the date of receipt of such notice.