It is better to quit the job if you face mistreatment, discrimination at your work, low wages, or inappropriate hours of work can be dealt with easily by quitting the job or else if you have a new job lined up or any personal reasons. To get fired by the employer on the other hand is always a bad impression when applying for a job again and a troublesome process in case of applying for unemployment benefits.