Hello sir , looks like you are suffering from pericoronitis which is infection of gums nearing the wisdom tooth. Visit a dentist. Take the prescribed medicines.once the pain subsides get it checked if it is erupting in a crooked manner or if it has a cavity get it filled or removed depending on severity.
Next Steps
Warm water with salt gargle will help reduce the pain
Health Tips
Visit dentist. You can also visit us @ our clinic in hyderabad