There is no such time limit. If you are satisfied with the medication’s effectiveness and if your doctor recommended the same, then you can continue the same as long as you want.