The first step in treating any cavity is to completely remove all areas of decay. Next, the tooth is restored with a dental filling, inlay, onlay, or crown.