Hi. This is an intestinal chronic infection .
Get the complete course of antibiotic and add -on probiotics , multivitamins , diet as advised by your Doctor and see the results, repeat the endoscopy
and you would be better.
This is ulcerative colitis
causing secondary changes of fissure and piles.
Not the other way.
Get a proper treatment and see that you continue treatment for a long time and diet restrictions.