how do you rewrite memories?

how do you free yourself from your mind?