I haven't eaten in a week due to depression I dont know what to do?

I have an extreme lack of apetita like I just gave up on life because of depression, dropped 9 pounds in 7 days and I was pretty skinny to start with. I don't want to say I'm depressed and that I feel suicidal because the will just lock me up in a hospital for 3 days. I've been there mental hospitals are hell on earth I dont ever want to step on one again. I know i do need help and that i need to be honest But I want a 100% insurance that I won't go to a mental hospital by force like last time.

ID do anything except the hospital
I haven't eaten in a week due to depression I dont know what to do?
Post Opinion