It really helps to find other people to trip with so you can have guides and someone to fish you out in the event you start having a bad time.
This isn't something you do alone.
http://howtousepsychedelics.org/depression/ Clinical studies like this one that use psilocybin and LSD to study depression have a very simple protocol. Participants
are invited to come to a research room that has been setup to feel comfortable and they take a dose of the substance. A researcher sits with them for the duration of the experience (typically 4-6 hours) and may talk them through any anxiety that arises. But generally, the participants simply remain quiet and feel the experience, following where their thoughts and feelings take them.
This setup can be replicated at home or in another comfortable setting.
The most essential elements are a comfortable space, plenty of time to stay in the experience, and someone you trust who can support you during the experience.