bleeding anus

i started taking iron tablets on saturday and today was my first poo since and was black which is to be expected but 2 hours later i went for a wee and there was blood coming from my anus has anyone else had this? i didn’t strain or feel constipated