Proper translation of the word "confidence"
The main difference between the two is that the subject of 自信 is fixed - self. That is, "self-confidence" is a more direct translation of 自信. If you can fit "self-confidence" in your English sentence, you can fit 自信 in your Chinese sentence the same way.