hello
pain in mouth may be due to following
impacted tooth
infection in any particular tooth
tmj trouble
so what i would suggest is that you pay a visit to your
dentist and get a complete readiographic and clinical examination done to find out the cause and cure accordingly
switching of pain from side to side is indicative of impacted tooth or tmj trouble
if its impacted tooth than you would need to get the tooth extracted or the flap above the tooth may be removed as erupting impacted tooth leads to impection of food particles in the gums and causes pericoronitis
tmj troubles needs more of surgical invasive treatment
in the mean while what i would suggest is that you maintain good
oral hygiene and do a lot of luke warm saline rinses which has real good results
hope this helps