hi and welcome Rahul
Unfortunately we can't provide the kind of medical advice you're asking for here.
Depression and anxiety are commonplace for a lot of us after we stop using, though.
I have suffered from depression tho, and I found medication helped me a lot.
I wonder why we're sometimes not at all worried to take all kinds of drugs recreationally, but we baulk at medications that may help us?
If you think the advice you're getting from your doctor is not suitable for you or not what you want, I recommend you get a second opinion.
D