It is sad that after filling also the tooth couldn't survive. You visit a dentist
and an x ray
will be taken to reveal if any root is still present or not and its condition. If root is still present it will be removed and when it get healed you will have 2 better options-
1) a dental bridge can be fabricated if the gap is present in between two tooth.
2) if it is not a wisdom tooth and you can afford the cost, you can go for Implant.