Getting sent to hospital!

So I’m really worried right now. I suffer from depression and I’m scared my doctor or social worker will send me to a hospital to get help. What would have to be the reason to send me?