You can take Tab. Paracetamol SOS.
Rinse your mouth with warm salt water. Use only toothbrush with soft or extra-soft bristles.
Pain in ears and headache can be related to TMJ.
Next Steps
Visit a Dentist for the proper Diagnosis and treatment.
Health Tips
Use mouthwash after brushing your teeth. You can use Hexalor mouthwash.