If your dentist is filling a cavity, you could get a temporary filling before you get the permanent one
A temporary filling is a filling that has been placed to seal a tooth until a final filling can be placed. It is generally a soft material that has been placed into the tooth to fill a broken area or area of decay.