The reaction of people to acidic foods is very variable.
Some people are just more susceptible to reactions to acidic foods and drinks, like orange juice, pineapple juice, fruits, tomatoes, and others. Stress
also create problems sometimes. As far as i know, prevention is difficult except for keeping track of what you eat/drink and when you get the sores.