Yes, you can brush your teeth after getting a temporary filling. However, you should wait until the filling has fully set before brushing the area around the filling. Your dentist will give you specific instructions on how long you should wait before brushing.