As you mentioned above your 3rd molar is coming , its normal to having pain in that area .sometimes it migh cause swelling as well ,
The best treatment for 3rd molar get it extracted(removal)
For timebeing do rineses with luke warm water with pinch of salt 3-4 times a day . For temporary pain relife you can take tab Ketorol dt 2 tablets in half glass of water .
For permanant relive you have to visit your dentist.
Next Steps
Visit a dentist and discuss your problem. If any doubt, take opinion from other dentist. But no benefit of taking opinion for such problem on such platform.
Health Tips
Visit dentist in every 6-8 months.