They are likely to be prolapsing piles.Taking Triphala or other agents for constipation is not good.Consult a Proctologist or general surgeon to get rid of the problem.& Also to exclude tumours or cancers (rare).
Next Steps
you can contact Dr.Rajasekhar chirag hospital & institute of proctology which is specialised for anal & rectal diseases
Health Tips
Many anal problems,if detected early can be managed with out operation.Donot neglect bleeding,mass or pain in anus,.Avoid complications