Hello and welcome to healthcare forum.
Reason for weakness and headache is anemia
due to this blood loss. For your complain you require to visit a surgeon as you require a proctoscopic examination and if no clue for you condition by it, then colonoscopic examination.
Best wishes for your health.