Blood after I pooped?

So just went to the bathroom when I first squeezed it kinda hurt a bit and then when I wiped there was some blood.. is this okay? Could it maybe be hemroids? My “butthole” kinda still hurts a bit so could that be it? Idk I’m freaking out...