Constipated

Really sorry for tmi but it’s really hurting to go for a 💩 I had a tiny bit of blood when wiping too. Only like a dot of it. What could be the cause?