Hi. Irritability, not wanting to work, hopelessness, loss of confidence are all symptoms suggestive of underlying depressive disorder. You should consult a psychiatrist and get yourself evaluated completely. Treatment with medications and psychotherapy will help you recover.
Next Steps
Seek a psychiatric consultation.