Hello, both are two different situations so take care of both of them by getting a anti tetanus vaccine and visit a dentist for your wisdom tooth let him/her take a xray to decide what needs to be done with the tooth.
I am considering you don't have gutkha chewing/ pan masala chewing habit. At you age of 21, an erupting third molar (wisdom tooth) creates such problems. Use warm saline rinse to gorgle 3-4 times a day, take otc pain killers and see if problem dimish in few days. If not, please visit a nearby dentist to visualise the cause (clinical, x-rays etc).
Congratulations for quitting smoking. Motivate yourself for NOT to restart smoking, by calculating all the benefits you got all these 1 1/2 years including savings on cigarettes. You throat hurt, vomit and swollen lymph node are due to wisdom tooth eruption. Please consult a dentist.