Hello and welcome,
Thanks for posting your query.
First of all let me inform you that dental treatments which are painful are performed only under administration of local anaesthesia.
So please do not be worried about pain while performing dental treatment.
The broken tooth has to be examined clinically as well radiologically.If required root canal treatment
and post and core placement has to be done.
If tooth cannot be saved,get it extracted.
Take complete course of antibiotics too.
Maintain oral hygiene