Both allergy shots and drops work by changing your immune system — essentially immunizing you against your own allergies. The goal of treatment is to achieve allergy relief that lasts for years after the course of treatment is complete. On average, treatment takes 3-5 years, just like allergy shots.