Autosuggestion: during the day, but especially when you go to bed, repeat a mantra to yourself, like “in my next LD, I WON’T be teleported”. Keep repeating it until it’s firmly fixed inside your subconsciousness, and until you fall asleep. Autosuggestion might work slower than selfhypnosis, so really do it day after day…
About selfhypnosis: I’ve recently explained it in short in another post (this one)