Wiped pink blood after poop

Today. I pooped again and wiped some pink blood. I did feel like I had to strain myself a bit. But over the last few weeks I’ve been feeling that way. I drink lots of water and coffee. Sometimes I feel like I need to go and I can’t go! I’m not usually constipated but sometimes it hurt my bum to poop!