Thanks for posting your query.
The most likely cause is hemorrhoids. A sigmoidoscopy
may be done for evaluation.
Get it examined by your doctor. If it is found to be hemorrhoids and of a severe grade, then you may require surgery. If it is of milder grade, then high fiber diet and lot of fluids would be beneficial.