Hi thanks for psoting your query
Your having anal fissure
along with piles for last 2 years with inadequate pain reiief from different medicine.
The best way to manage anal fissure and piles is surgical.
The operation is called as symphterotomy along with haemorridectomy .
It is a small surgical procedure of about half an hour and can be done regional anaesthesia and you will be back to work in 2 weeks time .
Hope I answered your question.