After receiving a dental filling, avoid eating or drinking anything for at least 30 minutes to allow the filling material to harden completely. It’s best to avoid hard or sticky foods that can dislodge or damage the filling and to practice good oral hygiene habits, including regular brushing and flossing.