i just need comfort

so lately I've been feeling very suicidal. I have a son so I'm not going to do it, but I do self harm, I know I shouldn't do it but it's an addiction. I need comfort from my husband but he keeps telling me I'm a dumbass when I do and it hurts my heart.

I just want comfort. I want someone to tell me that everything is okay.