In order to receive a formal diagnosis you need to see a specialist. They will be able to assess your allergic reaction and provide you with medicine to manage this.
It is important, if you suspect you have a food allergy, to seek medical advice as soon as possible. In the meantime it is advisable to avoid the suspected food.
Once diagnosed, there is no real cure for food allergies. Even if you think you have outgrown the allergy, do not try the food you have been diagnosed as allergic to. Always seek medical advice and re-testing before changing your behavior.