Blood in poo

I went to the bathroom did some poo and there was blood. What could be the reason. Help needed