A 70-year-old patient comes to his family doctor complaining of the recurrent bleeding from the lower gastrointestinal tract. He usually has normal stools but occasionally mucous diarrhea occurs. The patient suspects bleeding from the hemorrhoids. Indicate the optimal diagnostics and treatment: