If stomach acid happens to get into your lungs then it can cause irritation of the lungs and possible damage to the lungs as well if the stomach acid problem is not treated or managed.
Stomach acid that gets into your lungs can also cause aspiration as well as a bitter taste in your mouth.
If you think you're having stomach acid problems and stomach acid is reaching your lungs you could have acid reflux disease and need to see your doctor or go to urgent care to be checked out.
If left untreated eventually the stomach acid could lead to damage of the lungs which then leads to breathing problems and other serious health issues.
As long as the stomach acid and acid reflux disease is treated and managed it can prevent lung issues and no more serious health issues should occur as a result.
You may need to avoid eating foods or drinking things that contain too much acid which can build up more acid on your stomach.