Welcome to HCM!
Yes, definitely you should go to your doctor, get Per Rectal Digital examination & Proctoscopy done by him to look for the cause of the bleeding.
Hemorrhoides/fissure(painful), if present, can be diagnosed easily.
Also do- Stool (R & M), CBC, USG (Abdo-Pelvis).
Till then take antispasmodics, analgesics if pain is there, stool softeners if hard stools, antibiotics with your doctor's opinion.
If hemorrhoides/fissure is not there, other causes need to be ruled out by further investigations.
Colonoscopy may be required.
Take high fibre diet, green leafy vegetables.
Drink plenty of fluids like Oral Rehydration Solution.
Wish you a good health.
Take care.
Regards.