This medication is used to treat certain types of lung disease (idiopathic pulmonary fibrosis- IPF, interstitial lung disease). Both types of lung disease scar and stiffen your lungs, making it hard to breathe. Nintedanib may help slow down the worsening of your lung disease.