Thanks for asking the query,
You have to wait for the period of one week if there is absence of pain you can get the tooth filled with a permanent restoration.
If there is presence of pain and discomfort i would suggest you to consult the concerned Dentist
and get an x-ray done.
Take a course of antibiotics and analgesics.
Hope you find this as helpful,