Psychedelics and addiction

How do psychedelics help with addictions and if any of you have had success with quitting something due to psychedelics how so