The vaccine is built by binding a heroin molecule to a protein recognized by the immune system. The heroin molecule does not trigger an immune reaction on its own. When the vaccine initiates an immune response, antibodies are produced that bind to heroin molecules that build up when a person is using the drug. The antibody binding prevents the drug from reaching the brain and causing a high.