After getting a temporary filling, you should avoid eating hard or sticky foods that could dislodge the filling. You should also avoid chewing on the side of your mouth where the filling is located. Additionally, you should avoid flossing around the filling, as this could cause it to become loose.