In the game, find a bonfire (shown by an icon on the map) and light it, then use the hammer to repair the weapon. This method is suitable for the totem poles used for team formation near the entrance of the multiplayer instance.
Find the weapons merchant on the map, and the lower level of his purchase window will display equipment repair. Click the hammer-shaped icon to start the repair, and you will need to pay a certain repair fee.