The hepatitis A vaccine is given as a shot. A vaccine is a shot of inactive virus that stimulates your natural immune system. After the vaccine is given, your body makes antibodies which will protect you against that virus. These antibodies are then stored in the body for several years and will fight off the infection if you are exposed to the hepatitis A virus.