Hello. Welcome to HCM.
Infrequent bleeding per anus has many causes ranging from minor skin tags
to tumours.The best approach is decided by a person's age and presence of other symptoms, dietary and bowel habits. So initially, you must have an endoscopic examination to decide whether it is actually piles or some other cause as a rectal ulcer, etc. It is a nowadays a minor and safe procedure.
If along with bleeding, you are constipated, you need to improve your dietary habits by increasing intake of fibre.
If it is actually piles, there are a variety of treatment options like sclerosis
, banding, excision which are decided as individual case. So, you must get examined by a gastroenterologist