Dentists recommend avoiding hard, chewy or sticky food for up to two weeks while your filling sets in. You'll also want to avoid biting too hard or grinding your teeth. You should still brush and floss your teeth daily.