Duration of treatment depends upon the underlying cause. It may vary from few weeks to years.