Welcome to HCM.
It could be due to some abrations on anal part due to dry hard stool.
Take more liquid diet
,fruit juices,high fibre diet(vegetable soups and salads).
Get examined by surgeon to confirm the cause.
Take dewormin ,any laxative and local treatment under your surgeon's guidance.