edit: in the interest of not misrepresenting hallucinogens, I wanted to clarify a few things. First, this was on LSD, and not mushrooms. I have never had a bad trip on mushrooms, whereas I always felt more out of control on LSD. Also, I've tripped dozens of times, and every other trip was either very positive or at least could be laughed at afterward. And overall I've gained more than I've lost by a long shot. My main point is that hellish psychotic breaks are indeed possible, but not the norm. The one time I did experience this, I was not following the guidelines of experienced trippers, which is to make sure your set and setting are good. My (mind)set was horrible, taking several other drugs in the same evening, and the setting was a shitty vegas hotel.
If you go in with a positive, respectful mindset, surrounded by supportive people in a good environment, the chances are almost nil that you will have a bad trip.
That said, I learned a lot from them. In fact, I'd say that I learned a lot more from my bad trips than from my good trips, and found the bad trips much more valuable and profound.
They helped me face a lot of things I didn't want to acknowledge or didn't realize in my ordinary life. They were, as they say, years of therapy condensed in to hours.
My bad trips also made me feel great respect for these substances, and made me very wary of casual use. I also believe you should always have an experienced sitter whom you like and trust.
I can't find it now, but there's an interview with Erik Davis where he tells a story of how Terrence McKenna had turned someone on. Afterwards, that person screams at McKenna: "What did you do to me? How could you! It was so..."
So McKenna asks him: "But would you do it again?"
"Why? Because what does not kill you makes you stronger?"
"No," McKenna replied, "It is what kills you that makes you stronger."