When you lose a filling or your filling is broken, it can cause toothache. To relieve your discomfort, a temporary filling is the ideal solution to prevent food from entering the cavity that can aggravate your tooth.