Yes, proper medication and therapy is the only way to get rid of anxiety and depression, you will become much better.
I have a nice experience of taking medication, it help me a lot with my anxiety.