Magistrate says time to stop offending