Any history of constipation ?
Is the area painful ?
Is it on anal verge or on the skin ?
Any associated bleeding in stools ?
From your history i suspect this o be a case of haemorrhoid since there is a painless bleeding sporadically .
As such you can try ho sitz bath . Avoid constipation .
Take fibre supplements like metamucil if there is constipation .
Drink plenty of water .
Consult a doctor for a clinical examination for the examination .