His Depression

I knew being in love with someone who has depression would be difficult, but I didnt think it would tear me apart at points. I love my boyfriend so much, but I dont know how to react when he has his episodes. Everything I say seems to make him either angry, sad, or just. Idek. Help..