Thanks for writing here.
occurs due to repeated friction of anal hairs to anal skin.
Frequent travelling,weraing tight clothes can worsen the condition.Keep area clean.
Use loose clothes.Take sitz bath regularly and antiboitics in case there is infection.
At times such cyst can form sinus
.Definite treatment is surgery where cyst contents are removed from inside.
Hope this will solve your query.Take care.