Anxiety and depression

I have a doctors appointment coming up for my anxiety and it has gotten worse

My doctor wanted to have me evaluated and committed but I declined

And I’m afraid to tell her that it’s worse than ever

I have college and work I’m scared to be committed

Has anyone experienced this