Help!

My stomach is burning/ feels very weird and queasy! I’ve been pooping mucus filled with blood all night... Could I have an infection or was it something I ate?