What causes an acidic environment?
An acidic environment is caused by any foods and drinks with high sugar content and an acidic base. This includes things such as fizzy drinks, acidic foods and sweet foods. Citrus fruit, fruit juices, alcohol and wine, coffee, apple cider vinegar, and candy are all foods to be aware of.
Additionally, there are some medical conditions that can influence the environment in your mouth, in particular those causing you to vomit excessively (eg. eating disorders), digestive issues (eg. GERDS) and dry mouth/low saliva flow.
Medications that can create an acidic environment: aspirin, antihistamines, vitamin c, iron supplements and antibacterial mouthwashes.
What happens when the environment turns acidic?
An acidic environment causes your enamel (the protective layer over your tooth) to get soft and therefore makes the rest of your tooth more prone to breaking down, this is called an acidic shock.
Apart from avoiding those foods and drinks as much as possible there are a few other things you can do.