The medicine is safe to take for long. However, for management of social phobia and depression, I would advice you to undergo psychotherapy such as Cognitive Behavioural Therapy from an experienced therapist. A combination of both the treatment is needed for cured from anxiety problems.
Next Steps
For more specific management advice you can contact me directly here on Practo.
Health Tips
Do not worry, it is curable.