Sir, if you had pain with hot & cold sensitivity in teeth. It means your teeth involved with pulp(nerve vessels) and indication of root canal treatment. Sometimes tooth ache radiated to other tooth and jaw also. So please go to dentist and consult with him.
Next Steps
radio graph must for that teeth
Health Tips
if possible than warm saline rinses for every two hours will help in to maintain oral hygiene.