So, what you dream about is the peristalsis of the second half of your intestine, which stimulates your nerves to have a dream consciousness. Generally speaking, adults can't go to the toilet immediately, but they will definitely go to the toilet after waking up.