If you have a tooth that requires a filling, the dentist will first remove the decayed tooth material, clean the affected area, and then fill the cleaned-out cavity with a filling material. A filling also helps prevent further decay by closing off any cracks or spaces where bacteria can enter.
There are a variety of filling materials available including gold, silver, plastic and porcelain. The dentist will work with you to determine which material is best for you, depending on the extent of repair, where in your mouth the filling is needed, and cost.