Depression, anxiety, OCD, are all very real and extremely debilitating.
Wherever you are from, just Google in your native language for "mental help hotline", talk to the volunteers that answer the phone. Some might be not the most understanding, but they usually can talk to you and help you.
However desperate you are, unless you are in Scandinavian welfare country, do not, I repeat, do not go to a mental hospital. Those places are hell on earth.