I would see the doctor as soon as possible, blood in the stool is nothing to fool around with.
You need to see your Dr about this. Your told to look at your stool for just this kind of thing, any changes. Your Dr will probably want a sample to see if this is blood or not. With the pain your having, have your Dr check your gallbladder also. Remar