Progression
How to make an Iron or Lead Anvil in Terraria
At a Work Bench, craft an anvil with five Iron Bars or five Lead Bars.

1. Smelt the local ore
Use a Furnace to make bars. Worlds can generate either iron or lead, and each has its own anvil recipe.
2. Test the new station
Stand next to the placed anvil with bars in your inventory. More recipes become available compared with the Work Bench alone.