To repair your armor. go to a merchant and look at the lower right buttons. There are two, one of them is a anvil. You can choose to repair one item or repair all you equipment. Repairs will cost increasingly more money, depending on how low the durability of your item/items is.