Hi - please seek urgent medical advice. Until the cause is diagnosed, you cannot be sure that the bleeding may suddenly become more severe and torrential (as happened to me) thus becoming a medical emergency.
regards
Morecambe
Is there any way i treat it at home first and then go to the doc ?
Any rectal bleeding needs to be addressed right away. You need to have your headaches addressed as well. The pain killers can wreak havoc on your stomach, but if the blood was coming from your stomach it would turn your stool black. See a gastroenterologist to address the stomach problem and the bleeding. Take care.