Bowel Movement and now BLOOD

So I haven't been pooping well and today I pooped but I've been constipated and t was a bit of a strain. After I finished I had brown and red vaginal discharge. Maybe I pushed out some residual blood or should I go to the ER?