Blood in stool

Ive been like constipated or having bad bowel movemnets these past two months and today i got so constipated and then it came out and i saw like streks of blood in my stool like blood what could it be!