Hello, half broken tooth could be either due to d cavity or it might have just fractured or chipped off.
Whatever be the reason if it is paining it might need a root canal treatment
Combiflam or diclomol can be taken when required
Next Steps
Visit dentist whenever possible or share your xray or tooth pic on personal chat box
Health Tips
Avoid eating from that side maintain oral hygiene
Use mouthwash after your meals