Thanks for query
As it don`t hurt ,only bleed so it is haemmorroids ,& it needs treatment depending upon the grade or degree.Anal sex can precipitate bleeding per rectum
.Proper treatment is must.
Hope I have answered your question well to your satisfaction. Wish you speedy complete recovery at the earliest.