The first step in the treatment of food allergies is getting the right diagnosis. Knowing which foods you are allergic to will help you eliminate those foods from your diet. It is important to not eliminate foods without the right diagnosis, as this can lead to nutrient deficiencies.