Freaking out... (TMI WARNING)

I've been very constipated recently and today I decided enough was enough and I stayed in the bathroom until I got at least some relief. I pushed really hard and felt so much better after I was done but when j wiped I was immediately terrified to see blood. Is this normal? Should I be worried? Can bushing to hard during a bm cause miscarriage? I am so terrified.