Certain spices and foods caused burning and swelling in my mouth. It was diagnosed as "lichens planus", and I was told there was no cure. A friend gave me a home remedy: a tablespoon of apple cider vinegar in about 2 ounces of water for a mouthwash. It cured and controls the problem for me. Doctors evidently won't prescribe it because it costs very little, and makes no money for them. Hope it works for you.