Every person convicted of a violation of any provision of this chapter shall for a first conviction of such provision be punished by a fine of not more than $50; for a second such conviction within 18 months thereafter such person shall be punished by a fine of not more than $100; upon a third or subsequent conviction within 18 months after the first conviction such person shall be punished by a fine of not more than $250.