Hi Aditya, Welcome to HealthcareMagic Forum.
You haven't mentioned whether the blood is fresh or Old blood that is a Different colored blood? Your symptoms suggest, either you have Hemorrhoids or Irritable Bowel Syndrome
). Kindly get yourself examined by a Physician and a Surgeon to rule these out. Your treatment will depend upon the cause. Once confirmed, stick to your treatment plan and go for regular follow up.
Wish you Good Health, Take Care.