While not a severe emergency, you still need to call your dentist immediately. Ensure the loose filling or cap has been removed from your mouth. Use a toothbrush to carefully brush around and inside the exposed filling to eliminate food particles, and rinse with warm salt water. Temporary fillings and caps are available for up to 48 hours at your local pharmacy, to help protect your tooth until you can be seen.