It is made by reacting iron or iron ( III ) oxide with nitric acid . The reaction of iron with nitric acid makes nitrogen dioxide . The compound is prepared by treating iron metal or iron oxides with nitric acid .