Constipation, blood on toliet paper, and now some mucus on stool? What to take for it?

Constipation issues. Treatment depends on problem (do you have soft or hard stool?), circumstances under which constipation developed (dehydration, low activity, food intolerances, stressful times, ischemic gut, inflammatory colitis, past surgeries/ trauma with adhesions, rectal dysfunction), severity (stool volume, dehydration, how much blood, night-time awakening, weight loss), & duration (acute vs. Longstanding?).