Hi,
Kindly check your physician for the best advice. The duration will depend on your disease and body. However one can safely continue the medicines for 6 months without any problems.
The reason of pain can be correctly found out only by inspection since it is local disease.
You can also check Kshar Sutra treatment for fast and permanent relief from piles.
Hope this helps!
Health Tips
Ensure that medicines are good quality products. Kerala based Ayurvedic Pharmacies have very effective products.