Bleeding when I poop

What can I do about it? Do I 100% have to go to the doctor.

I bleed every time I poop and it’s been going on for awhile. I don’t want to have a doctor check it out since they’ll have to look and stuff... is there a way to solve this at home? This happened after I strained to poop once