Material selection and corrosion

Acidic corrosion may cause a localized thinnking of our materials. The risk of corrosion increases with acidity, temperature and flowrate. How to select a right material for reactors in order to avoid corrosion?