Whoever contravenes the provision of section 5 shall, on conviction, be punishable--
(a) in the case of first conviction, with imprisonment for a term which may extend to two years or with fine which may extend to one thousand rupees or with both, and
(b) in the case of second or subsequent conviction with imprisonment for a term which may extend to five years and with fine which may extend to five thousand rupees.