A good idea
The only way that you will know that everything is ok, is to see a dentist just to be sure.
It is not uncommon for dental problems to temporarily resolve, only to come back with a vengeance. The pain that you experienced might have been temporary and require no treatment. Only a dentist who personally examines you can tell you that for sure. Better to be safe than sorry, as the saying goes.