Don't freak out. You have hemorrhoids.
Rather, it is an fissure - the mucous membrane ruptures more or less when bowel movements, and blood remains on the paper. There may also be a pinch or burning in place. It's frightening because of the blood, but it's not a pain to die. It appears if you have a sedentary lifestyle, sitting at work, and especially if you have constipation. In pharmacies sell miscellaneous ointments that soften the edges of the wound, and it heals faster. Make sure you don't get constipation in the future, because that's when it gets most early.
You just have hemorrhoids. Buy cream Bochco and get a sleazy one before you go to the toilet
Maybe hemorrhoids are. Maybe there's a lot more stuff. This symptom occurs in many diseases. Your information is very small. Go to the GP to look and redirect you to another specialist if they think they need it. Eventually you can have a colonoscopy, which is not pleasant at all, but it will show if you have polyps/adenomas on your colon or any other kind of problem.
If the blood is not a large amount and bright in color, it is hardly a serious thing. Try Himalayan Pillex. But you need a month and a half to drink. Improvement occurs after a week. If there isn't one, you go to the doctor. You can go now, of course.
1 mickold answered