Hello dear
Dissatisfaction from self and the criticism at the work work place could be leading to depression. As you have mentioned that you have recently joined the job, you might be facing difficulty in adjusting to the demands of the job. Try talking to the manager and take help from colleagues to understand the work better and learn from them. Try to stay calm by meditating and discussing the problems with the someone close. Try consulting a clinical psychologist either online or meet in person for better management of the symptoms.
Next Steps
consult a clinical psychologist
Health Tips
talk to manager and colleagues, express your doubts, learn from others, meditate