Becoming free from the dictations of the mind

Although I'm a spirit soul, I have a body, and I have a mind. Just like I'm not the body, I'm also not the mind. However, how to become free from its influence?