Hello,being a Pediatric Dentist, i would like to tell you that if there is pain that means the nerves are exposed so it's better to get a Xray done in order to decide if the tooth should be root canal treated or extracted(if it is impinging the permanent tooth)..
Next Steps
you can consult me for prescription medicine and if you need to clarify anything from your side..