Thanks for writing here.
It seems you are having perianal dermatitis
Leaking of blood and other fluid leads to irritation of perianal skin.
Use loose cotton clothes.Use sitz bath.
Start applying a steroid
antibiotic combination like fucidic acid and hydrocortisone
h is one such brand readily available on counters.
It will be better if you go for surgical resection of your Haemorrhoids.