From the information you shared with us, the most probable cause of your problem is bleeding from your internal hemorrhoids
. Indeed, the most common sign of internal hemorrhoids is painless bleeding during a bowel movement.
For the time being, since your situation started only yesterday, you do not have to worry because bleeding from internal hemorrhoids is the most reasonable diagnosis. Bleeding will eventually stop, and you can do some simple things to this goal such as consume high-fiber foods, keep well hydrated, avoid alcohol, do not engage in the heavy physical activity, avoid sedentary life, empty the bowels as soon as you feel the need to defecate.
Please note that there are various other causes of bleeding. In case you notice a change in bowel movement habits, prolonged bleeding that does not stop or improve despite measures taken, change of stool color, consistency or pain, then you need to see your doctor for more detailed examinations.
Hope I have answered your query. Let me know if I can assist you further.
Dr. Ervin Toçi