Hello,
Thanks for posting,
You are obviously suffering from chronic entero-colitis which you have obviously chosen to ignore as the situation requires immediate medical attention.
Blood in stool is considered emergency you having episodes of diarrhea which alternates with hard stools plus blood is mere indication that you are suffering from a bowel infection which should normally have been treated long ago when it first started.
There are a wide range of microbes that could be responsible and most of them are invasive microbes such as salmonellosis, ETEC, shigella etc
In order to determine the possible cause, you will need a stool exams + culture, blood tests such as CBC, CRP, ESR, serum electrolytes,
Widal test etc. If infection is the cause, you will definitely require a course of antibiotics for a couple of days to eradicate the germs.
Now if we look at the possibility infection is not the cause, then you might be having a bowel tumor,
hemorrhoid,
diverticulosis etc. You will require
colonoscopy to be able to identify any of these causes.
I suggest you go to the hospital as soon as possible.
Hope this helps